Skip to content

Commit

Permalink
fix; import try 2
Browse files Browse the repository at this point in the history
  • Loading branch information
doctrino committed Apr 5, 2024
1 parent c4a5e8e commit 48ff86e
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion cognite/neat/rules/models/_rules/dms_architect_rules.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import abc
import math
import re
import sys
import warnings
from collections import defaultdict
from datetime import datetime
Expand Down Expand Up @@ -47,7 +48,11 @@
if TYPE_CHECKING:
from .information_rules import InformationRules

from typing import Self
if sys.version_info >= (3, 11):
from typing import Self
else:
from typing_extensions import Self


subclasses = list(CognitePropertyType.__subclasses__())
_PropertyType_by_name: dict[str, type[CognitePropertyType]] = {}
Expand Down

0 comments on commit 48ff86e

Please sign in to comment.