emod_api.demographics.Updateable module#
- class emod_api.demographics.Updateable.Updateable[source]#
Bases:
object
(Base) class that provides update() method for each class that inherits from this class.
- update(overlay_object: ['Updateable', Dict], allow_nones: bool = False) None [source]#
Updates an object with the values from overlay_object.
- Parameters:
overlay_object – object with overriding attributes/values to apply to THIS object
allow_nones – whether or not to apply/use attributes in overlay_object with value = None
- Returns:
Nothing