onapsdk.configuration package

Submodules

onapsdk.configuration.global_settings module

Global settings module.

onapsdk.configuration.loader module

Settings loader module.

class onapsdk.configuration.loader.SettingsLoader

Bases: object

Settings loader class.

Load global settings and optionally load

custom settings by importing the module stored in ONAP_PYTHON_SDK_SETTINGS environment variable. The module has to be uder PYTHONPATH.

filter_and_set(module)

Filter module attributes and save the uppercased.

Iterate through module’s attribures and save the value

of them which name is uppercase.

Parameters

module (module) – Module to get attributes from

Return type

None

Module contents

Configuration module.