maestral.config.main
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
- maestral.config.main.MaestralConfig(config_name)[source]
Returns an existing config instance or creates a new one.
- Parameters
config_name (str) – Name of maestral configuration to run. A new config file will be created if none exists for the given config_name.
- Returns
Maestral config instance which saves any changes to the drive.
- Return type
- maestral.config.main.MaestralState(config_name)[source]
Returns an existing state instance or creates a new one.
- Parameters
config_name (str) – Name of maestral configuration to run. A new state file will be created if none exists for the given config_name.
- Returns
Maestral state instance which saves any changes to the drive.
- Return type