Open PietroPasotti opened 1 year ago
@benhoyt @sed-i @Abuelodelanada I'm thinking of implementing it in an opt-in fashion:
scenario.STRICT_DATABAGS = os.getenv('STRICT_DATABAGS', False)
globalscenario.Relation(remote_unit_ids=[0,3,4])
will contain the default juju keysinject_juju_relation_data
helper to quickly add defaulted juju keys to a dict.What do you think?
At the moment, all databags are born empty. They should have the default keys present and set to some sensible defaults. e.g.: