dsss.config.Config#

class dsss.config.Config(store: dsss.store.Store, debug: bool = True, data_path: ~pathlib.Path = <factory>, version_string: str = <factory>)#

Bases: object

Configuration for a server instance.

__init__(store: dsss.store.Store, debug: bool = True, data_path: ~pathlib.Path = <factory>, version_string: str = <factory>) None#

Methods

__init__(store[, debug, data_path, ...])

Attributes

debug

Start the server in debugging mode.

store

Storage class to use; the fully qualified name of a class in store.

data_path

Path containing data.

version_string

data_path: Path#

Path containing data.

debug: bool = True#

Start the server in debugging mode.

Todo

Read this setting from file.

store: dsss.store.Store#

Storage class to use; the fully qualified name of a class in store.