You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We're grabbing bloated namespaces from the import *s in openest/generate/stdlib.py.
Would be helpful for a clean API if we could clean up the polluted namespace in stdlib.py. Memory profiling by module namespaces is a messy beast right now because there is so much imported at different levels.
I recommend writing up a global __all__ at the top of the modules, outlining exactly what is exported. This is needed in:
openest/generate/base.py
openest/generate/daily.py
openest/generate/irregular.py
openest/generate/yearly.py
openest/generate/funcitons.py
openest/generate/shortterm.py
Also mask the numpy import in stdlib.py by importing it as _np
The text was updated successfully, but these errors were encountered:
We're grabbing bloated namespaces from the
import *
s in openest/generate/stdlib.py.Would be helpful for a clean API if we could clean up the polluted namespace in stdlib.py. Memory profiling by module namespaces is a messy beast right now because there is so much imported at different levels.
I recommend writing up a global
__all__
at the top of the modules, outlining exactly what is exported. This is needed in:numpy
import in stdlib.py by importing it as_np
The text was updated successfully, but these errors were encountered: