ffmddb.core.models.config module¶
-
class
ffmddb.core.models.config.Configuration(name, collections, indices, options)¶ Stores database configuration read from a file or the user.
-
exception
MalformedConfiguration¶ Bases:
exceptions.Exception
-
classmethod
Configuration.from_object(config_obj)¶ Parses a configuration object (as generated by loading a yaml configuration file) into an internal object used by the database
-
Configuration.marshal()¶ marshals the configuration object back to YAML
-
exception