tommy.model.config_model

Classes

class tommy.model.config_model.ConfigModel(derive_from: ConfigModel = None)[source]

Bases: object

A class representing the configuration.

classmethod from_dict(config_dict) ConfigModel[source]

Create a ConfigModel instance from a dictionary representation. :param config_dict: Dictionary representation of the configuration :return: ConfigModel instance

to_dict()[source]

Convert the configuration object to a dictionary. :return: Dictionary representation of the configuration