diff --git a/CURRENT_VERSION.txt b/CURRENT_VERSION.txt index 3e5b7a1..039c750 100644 --- a/CURRENT_VERSION.txt +++ b/CURRENT_VERSION.txt @@ -1,2 +1,2 @@ # bump the below version on release -0.7.5 +0.7.5.post2 diff --git a/instruct/typedef.py b/instruct/typedef.py index 23134d6..1c3351a 100644 --- a/instruct/typedef.py +++ b/instruct/typedef.py @@ -448,7 +448,7 @@ def is_typing_definition(item): origin = get_origin(item) if origin is not None: return is_typing_definition(origin) - if LOWER_THAN_310: + if not LOWER_THAN_310: if isinstance(item, (types.UnionType,)): return True return False