mirror of
https://github.com/p2p-ld/nwb-linkml.git
synced 2025-01-10 06:04:28 +00:00
python 10 compat
This commit is contained in:
parent
444ecbaf04
commit
38c7e9ebf8
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@ import sys
|
||||||
from dataclasses import dataclass
|
from dataclasses import dataclass
|
||||||
from typing import ClassVar, List, Optional
|
from typing import ClassVar, List, Optional
|
||||||
|
|
||||||
if sys.version_info.minor < 11:
|
if sys.version_info.minor >= 11:
|
||||||
from enum import StrEnum
|
from enum import StrEnum
|
||||||
else:
|
else:
|
||||||
from enum import Enum
|
from enum import Enum
|
||||||
|
|
Loading…
Reference in a new issue