From 38c7e9ebf8963f8e8bbbec2886997b4c1053edb4 Mon Sep 17 00:00:00 2001 From: sneakers-the-rat Date: Tue, 2 Jul 2024 00:20:52 -0700 Subject: [PATCH] python 10 compat --- nwb_linkml/src/nwb_linkml/maps/postload.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nwb_linkml/src/nwb_linkml/maps/postload.py b/nwb_linkml/src/nwb_linkml/maps/postload.py index 6e80143..15d8dcc 100644 --- a/nwb_linkml/src/nwb_linkml/maps/postload.py +++ b/nwb_linkml/src/nwb_linkml/maps/postload.py @@ -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