mirror of
https://github.com/p2p-ld/nwb-linkml.git
synced 2024-11-12 17:54:29 +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 typing import ClassVar, List, Optional
|
||||
|
||||
if sys.version_info.minor < 11:
|
||||
if sys.version_info.minor >= 11:
|
||||
from enum import StrEnum
|
||||
else:
|
||||
from enum import Enum
|
||||
|
|
Loading…
Reference in a new issue