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
First of all. Thanks for creating and maintaining this great library. I have a question regarding wire.
It seems like wire does a pkgutil.walk_packages and import all modules through importlib.import_module. This prevents the ability to lazily import dependencies as they are needed especially when there are large libs like numpy and grpcio involved. What is the recommendation to wire without cascading imports?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
First of all. Thanks for creating and maintaining this great library. I have a question regarding
wire
.It seems like wire does a
pkgutil.walk_packages
and import all modules throughimportlib.import_module
. This prevents the ability to lazily import dependencies as they are needed especially when there are large libs likenumpy
andgrpcio
involved. What is the recommendation to wire without cascading imports?Thanks,
Sean
Beta Was this translation helpful? Give feedback.
All reactions