edq.config.app

 1import edq.config.common
 2
 3class BaseApplicationConfig(edq.config.common.InternalApplicationConfig):
 4    """
 5    A representation of the configuration options for an application, project, or use case.
 6    The key use of this class is to provide typing for config options.
 7    When creating a TieredConfigInfo, this class (or a subclass) will be constructed with from_dict() using the resulting raw config values.
 8    Users of this library can extend this class (and pass that class along (usually in edq.core.argparse.get_default_parser())
 9    to get config typed specifically for their application.
10    """
11
12edq.config.common._DEFAULT_APPLICATION_CONFIG_CLASS = BaseApplicationConfig
13edq.config.common._application_config_class = edq.config.common._DEFAULT_APPLICATION_CONFIG_CLASS
class BaseApplicationConfig(edq.config.common.InternalApplicationConfig):
 4class BaseApplicationConfig(edq.config.common.InternalApplicationConfig):
 5    """
 6    A representation of the configuration options for an application, project, or use case.
 7    The key use of this class is to provide typing for config options.
 8    When creating a TieredConfigInfo, this class (or a subclass) will be constructed with from_dict() using the resulting raw config values.
 9    Users of this library can extend this class (and pass that class along (usually in edq.core.argparse.get_default_parser())
10    to get config typed specifically for their application.
11    """

A representation of the configuration options for an application, project, or use case. The key use of this class is to provide typing for config options. When creating a TieredConfigInfo, this class (or a subclass) will be constructed with from_dict() using the resulting raw config values. Users of this library can extend this class (and pass that class along (usually in edq.core.argparse.get_default_parser()) to get config typed specifically for their application.