4.1.1.1. datanator.config package

4.1.1.1.1. Submodules

4.1.1.1.2. datanator.config.core module

Configuration

Author

Jonathan Karr <jonrkarr@gmail.com>

Date

2017-05-13

Copyright

2017, Karr Lab

License

MIT

datanator.config.core.get_config(extra=None)[source]

Get configuration

Parameters

extra (dict, optional) – additional configuration to override

Returns

nested dictionary with the configuration settings loaded from the configuration source(s).

Return type

configobj.ConfigObj

datanator.config.core.get_debug_logs_config(extra=None)[source]

Get debug logs configuration

Parameters

extra (dict, optional) – additional configuration to override

Returns

nested dictionary with the configuration settings loaded from the configuration source(s).

Return type

configobj.ConfigObj

datanator.config.core.get_mongo_config()[source]

Get a configuration to pass directly into the mongo client :param extra (: obj: ‘dict’, optional): override the Mongo information loaded from the config file

Returns

obj:’dict’: dictionary containing parameters to pass into the MongoDB util constructor

4.1.1.1.3. Module contents