Skip to content

Commit

Permalink
Merge pull request #203 from BerkeleyLearnVerify/TypesImportFix
Browse files Browse the repository at this point in the history
Added Missing Types Import
  • Loading branch information
dfremont authored Dec 9, 2023
2 parents 29649c6 + 64f15dd commit 43959f0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/scenic/core/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -367,6 +367,7 @@ def __repr__(self):
):
get_type_hints = typing.get_type_hints
else:
import types

def get_type_hints(obj, globalns=None, localns=None):
if not isinstance(obj, (type, types.ModuleType)) and globalns is None:
Expand Down

0 comments on commit 43959f0

Please sign in to comment.