File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ def __getattr__(name):
2626 return importlib .import_module ("petab.v1" )
2727 if name == "v2" :
2828 return importlib .import_module ("petab.v2" )
29- if name not in ("__path__" , "__all__" ):
29+ if name not in ("__path__" , "__all__" , "__wrapped__" ):
3030 warn (
3131 f"Accessing `petab.{ name } ` is deprecated and will be removed in "
3232 f"the next major release. Please use `petab.v1.{ name } ` instead." ,
@@ -37,7 +37,7 @@ def __getattr__(name):
3737
3838
3939def _v1getattr (name , module ):
40- if name not in ("__path__" , "__all__" ):
40+ if name not in ("__path__" , "__all__" , "__wrapped__" ):
4141 warn (
4242 f"Accessing `petab.{ name } ` is deprecated and will be removed in "
4343 f"the next major release. Please use `petab.v1.{ name } ` instead." ,
You can’t perform that action at this time.
0 commit comments