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
so if I add/modify any config property it will affect it globaly, so can I somehow inject a copy of the config so then I can modify it inside my function and don't affect the actual config?
Thanks
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
-
Hi, in my project I have defined a configuration like this
config = providers.Configuration()
then I inject this configuration into a function
so if I add/modify any config property it will affect it globaly, so can I somehow inject a copy of the config so then I can modify it inside my function and don't affect the actual config?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions