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
Basically, do it like Angular. Type hinted dependencies are specified in the class' __init__ signature. Those dependencies then influence how the module manager generates the dependency graph and thus how and when modules are loaded.
There's probably an industry standard DI framework for Python already, but this is more fun!
The text was updated successfully, but these errors were encountered:
Basically, do it like Angular. Type hinted dependencies are specified in the class'
__init__
signature. Those dependencies then influence how the module manager generates the dependency graph and thus how and when modules are loaded.There's probably an industry standard DI framework for Python already, but this is more fun!
The text was updated successfully, but these errors were encountered: