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.

to_dict() dict[source]

Updates an object with the values from overlay_object. :param overlay_object: Object that is used to update self :return: None

add_parameter(key, value)[source]

Adds a user defined key-value pair to demographics. :param key: Key :param value: Value :return: None