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
I am injecting dictionary of providers via container I want to access that via wiring in my views.py file as Provider itself(class)
when I am using syntax like website_handler=Depends(Provide[WebsiteManagerFactory.websites_handler.provider])
I am getting website_handler as <dependency_injector.providers.Dict({})> now how should I access my providers from this syntax?
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
-
I am injecting dictionary of providers via container I want to access that via wiring in my views.py file as Provider itself(class)
when I am using syntax like website_handler=Depends(Provide[WebsiteManagerFactory.websites_handler.provider])
I am getting website_handler as <dependency_injector.providers.Dict({})> now how should I access my providers from this syntax?
Beta Was this translation helpful? Give feedback.
All reactions