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
This work, creating an object with the conf dictionary defined in the yaml file.
However, I want to add other items to the conf dictionary not defined in the file.
I only manage to do in this way:
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 wonder if it is possible to read a generic dictionary from a config file (i.e. yaml), and then add new items to the existing dictionary.
For example, I have the following yaml file:
In the container:
This work, creating an object with the conf dictionary defined in the yaml file.
However, I want to add other items to the conf dictionary not defined in the file.
I only manage to do in this way:
Is there a better way of doing it?
Beta Was this translation helpful? Give feedback.
All reactions