maestral.config.main ==================== .. py:module:: maestral.config.main .. autoapi-nested-parse:: This module contains the default configuration and state values and functions to return existing config or state instances for a specified config_name. Module Contents --------------- .. py:data:: CONFIG_DIR_NAME :value: 'maestral' .. py:data:: DEFAULTS_CONFIG :type: maestral.config.user._DefaultsType .. py:data:: DEFAULTS_STATE :type: maestral.config.user._DefaultsType .. py:data:: KEY_SECTION_MAP .. py:data:: CONF_VERSION .. py:function:: MaestralConfig(config_name) Returns an existing config instance or creates a new one. :param config_name: Name of maestral configuration to run. A new config file will be created if none exists for the given config_name. :return: Maestral config instance which saves any changes to the drive. .. py:function:: MaestralState(config_name) Returns an existing state instance or creates a new one. :param config_name: Name of maestral configuration to run. A new state file will be created if none exists for the given config_name. :return: Maestral state instance which saves any changes to the drive.