mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-20 06:58:56 +00:00
Fix support for python 3.10 #5662
This commit is contained in:
@@ -3,7 +3,8 @@ import ifcopenshell
|
|||||||
import ifcopenshell.api
|
import ifcopenshell.api
|
||||||
import ifcopenshell.util.date
|
import ifcopenshell.util.date
|
||||||
from datetime import datetime, timedelta, date
|
from datetime import datetime, timedelta, date
|
||||||
from typing import Union, Any, TypedDict, NotRequired
|
from typing import Union, Any, TypedDict
|
||||||
|
from typing_extensions import NotRequired
|
||||||
|
|
||||||
|
|
||||||
class WorkSlot(TypedDict):
|
class WorkSlot(TypedDict):
|
||||||
|
|||||||
@@ -17,6 +17,7 @@ classifiers = [
|
|||||||
]
|
]
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"ifcopenshell",
|
"ifcopenshell",
|
||||||
|
"typing-extensions",
|
||||||
]
|
]
|
||||||
|
|
||||||
[project.urls]
|
[project.urls]
|
||||||
|
|||||||
@@ -28,7 +28,8 @@ import ifcopenshell
|
|||||||
import ifcopenshell.geom
|
import ifcopenshell.geom
|
||||||
import ifcopenshell.util.selector
|
import ifcopenshell.util.selector
|
||||||
from logging import Logger
|
from logging import Logger
|
||||||
from typing import Optional, Literal, TypedDict, NotRequired
|
from typing import Literal, TypedDict
|
||||||
|
from typing_extensions import NotRequired
|
||||||
|
|
||||||
|
|
||||||
class ClashSource(TypedDict):
|
class ClashSource(TypedDict):
|
||||||
|
|||||||
Reference in New Issue
Block a user