mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-09 17:31:45 +00:00
Fix IfcOpenShell-Python on Python 3.10
Elipsis is not allowed for generic typing
This commit is contained in:
@@ -44,7 +44,7 @@ if TYPE_CHECKING:
|
||||
VectorType = Union[Sequence[float], Vector, np.ndarray]
|
||||
else:
|
||||
# Ensure it's exportable, so other modules can reuse it for typing.
|
||||
VectorType = ...
|
||||
VectorType = Any
|
||||
|
||||
SequenceOfVectors = Union[Sequence[VectorType], np.ndarray]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user