We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c7f46b2 commit 90e48ddCopy full SHA for 90e48dd
petab/__init__.py
@@ -26,7 +26,7 @@ def __getattr__(name):
26
return importlib.import_module("petab.v1")
27
if name == "v2":
28
return importlib.import_module("petab.v2")
29
- if name != "__path__":
+ if name not in ("__path__", "__all__"):
30
warn(
31
f"Accessing `petab.{name}` is deprecated and will be removed in "
32
f"the next major release. Please use `petab.v1.{name}` instead.",
@@ -37,7 +37,7 @@ def __getattr__(name):
37
38
39
def v1getattr(name, module):
40
41
42
43
0 commit comments