ecpi.database.config_sdb_caldb module

Section author: ECLAIRs GP team

SDB interface

Summary

Classes:

ExternalConfiguration

Container for external configuration

Class diagram:

Functions:

loadjson

Load any .json file content in memory.

Reference

class ExternalConfiguration(service, cfg_file=None)[source]

Bases: object

Container for external configuration

loadjson(json_filename)[source]

Load any .json file content in memory.

Parameters

json_filename (str) – file name of the .json file to be loaded

Returns

infos contained in .json file

Return type

dict