mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-26 10:11:46 +00:00
Replace deprecated typing.Sequence (40f92d15c)
This commit is contained in:
@@ -23,7 +23,7 @@ from ifcopenshell import ifcopenshell_wrapper
|
|||||||
import numpy as np
|
import numpy as np
|
||||||
import math
|
import math
|
||||||
from ifcopenshell import entity_instance
|
from ifcopenshell import entity_instance
|
||||||
from typing import Sequence
|
from collections.abc import Sequence
|
||||||
|
|
||||||
from ifcopenshell.api.alignment._add_segment_to_curve import _add_segment_to_curve
|
from ifcopenshell.api.alignment._add_segment_to_curve import _add_segment_to_curve
|
||||||
from ifcopenshell.api.alignment._get_mapped_segments import _get_mapped_segments
|
from ifcopenshell.api.alignment._get_mapped_segments import _get_mapped_segments
|
||||||
|
|||||||
@@ -19,7 +19,7 @@
|
|||||||
import ifcopenshell
|
import ifcopenshell
|
||||||
import ifcopenshell.api.alignment
|
import ifcopenshell.api.alignment
|
||||||
from ifcopenshell import entity_instance
|
from ifcopenshell import entity_instance
|
||||||
from typing import Sequence
|
from collections.abc import Sequence
|
||||||
|
|
||||||
|
|
||||||
def __get_curve_segment_count(segment: entity_instance) -> int:
|
def __get_curve_segment_count(segment: entity_instance) -> int:
|
||||||
|
|||||||
+1
-1
@@ -18,7 +18,7 @@
|
|||||||
|
|
||||||
import ifcopenshell
|
import ifcopenshell
|
||||||
from ifcopenshell import entity_instance
|
from ifcopenshell import entity_instance
|
||||||
from typing import Sequence
|
from collections.abc import Sequence
|
||||||
|
|
||||||
|
|
||||||
_horizontal_callback = None
|
_horizontal_callback = None
|
||||||
|
|||||||
@@ -22,7 +22,7 @@ import ifcopenshell.api
|
|||||||
from ifcopenshell import entity_instance
|
from ifcopenshell import entity_instance
|
||||||
from ifcopenshell.api.alignment import get_axis_subcontext
|
from ifcopenshell.api.alignment import get_axis_subcontext
|
||||||
|
|
||||||
from typing import Sequence
|
from collections.abc import Sequence
|
||||||
|
|
||||||
import csv
|
import csv
|
||||||
|
|
||||||
|
|||||||
@@ -19,7 +19,7 @@
|
|||||||
import ifcopenshell
|
import ifcopenshell
|
||||||
import ifcopenshell.util
|
import ifcopenshell.util
|
||||||
from ifcopenshell import entity_instance
|
from ifcopenshell import entity_instance
|
||||||
from typing import Sequence
|
from collections.abc import Sequence
|
||||||
|
|
||||||
import ifcopenshell.util.representation
|
import ifcopenshell.util.representation
|
||||||
|
|
||||||
|
|||||||
@@ -19,7 +19,7 @@
|
|||||||
import ifcopenshell
|
import ifcopenshell
|
||||||
import ifcopenshell.util
|
import ifcopenshell.util
|
||||||
from ifcopenshell import entity_instance
|
from ifcopenshell import entity_instance
|
||||||
from typing import Sequence
|
from collections.abc import Sequence
|
||||||
|
|
||||||
import ifcopenshell.util.element
|
import ifcopenshell.util.element
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user