Skip to content

Commit

Permalink
🐛 Fix import to comply with lamindb 0.76.10
Browse files Browse the repository at this point in the history
  • Loading branch information
falexwolf authored Oct 8, 2024
1 parent 207519e commit e6174bc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions omop/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@
# trigger instance loading if users
# want to access attributes
def __getattr__(name):
if name not in {"models"}:
_check_instance_setup(from_lamindb=True)
if name != "models":
_check_instance_setup(from_module="omop")
return globals()[name]


Expand Down

0 comments on commit e6174bc

Please sign in to comment.