Module Expr Str Import alias Import alias Import alias Import alias ImportFrom alias Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Str Assign NameStore NameLoad FunctionDef arguments args defaults body Global identifier Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad Str Global identifier Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args defaults body Global identifier If NameLoad body Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad Global identifier Expr Call AttributeLoad NameLoad attr decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore NameLoad FunctionDef arguments args NameParam defaults vararg kwarg body Expr Str If UnaryOpNot AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad NameLoad Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body Expr Str For NameStore Call NameLoad NameLoad body If CompareEq NameLoad Call AttributeLoad NameLoad attr body Expr Call NameLoad NameLoad NameLoad Call NameLoad NameLoad NameLoad TryExcept body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad For NameStore Call NameLoad NameLoad body If CompareEq NameLoad Call AttributeLoad NameLoad attr body Assign NameStore Call NameLoad NameLoad NameLoad Expr Call NameLoad NameLoad NameLoad NameLoad handlers ExceptHandler type NameLoad name NameStore body Assign NameStore Call NameLoad BinOpMod Str TupleLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad body Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad decorator_list decorator_list Assign NameStore Call NameLoad
N/A N/A Settings and configuration for ndscheduler.

This will create a settings module that overrides default
settings (from the default_settings module) and it will override
those settings with values found in the module specified by the
NDSCHEDULER_SETTINGS_MODULE environment variable.

Any machine that wants to run a scheduler powered by ndscheduler MUST have
NDSCHEDULER_SETTINGS_MODULE as an environment variable or this module
will raise an exception.
 N/A importlib N/A logging N/A os N/A sys ndscheduler default_settings N/A logger N/A N/A logging getLogger N/A ch N/A N/A logging StreamHandler N/A sys stdout N/A formatter N/A N/A logging Formatter %(asctime)s - %(name)s - %(levelname)s - %(message)s N/A N/A N/A ch setFormatter formatter N/A N/A N/A logger addHandler ch N/A ENVIRONMENT_VARIABLE NDSCHEDULER_SETTINGS_MODULE N/A _settings_module None setup_package N/A N/A N/A N/A N/A _settings_module N/A _settings_module N/A N/A N/A os environ get ENVIRONMENT_VARIABLE N/A N/A N/A os environ N/A ENVIRONMENT_VARIABLE ndscheduler.default_settings_test N/A settings N/A N/A N/A settings __init__ N/A teardown_package N/A N/A N/A N/A N/A _settings_module N/A _settings_module N/A N/A N/A N/A os environ N/A ENVIRONMENT_VARIABLE _settings_module N/A settings N/A N/A N/A settings __init__ N/A Settings N/A object N/A N/A Singleton class to manage ndscheduler settings. N/A _instance None __new__ N/A N/A cls N/A args kwargs N/A N/A Set this class up as a singleton. N/A N/A N/A cls _instance N/A N/A N/A cls _instance N/A N/A N/A super Settings cls __new__ cls args kwargs N/A N/A cls _instance N/A __init__ N/A N/A self N/A args kwargs N/A N/A Instantiate the settings. N/A setting N/A dir default_settings N/A N/A N/A setting N/A N/A setting upper N/A N/A N/A setattr self setting N/A getattr default_settings setting N/A N/A N/A settings_module_path N/A N/A os environ N/A ENVIRONMENT_VARIABLE N/A N/A N/A settings_module N/A N/A importlib import_module settings_module_path N/A setting N/A dir settings_module N/A N/A N/A setting N/A N/A setting upper N/A N/A setting_value N/A getattr settings_module setting N/A N/A setattr self setting setting_value N/A N/A N/A ImportError N/A e N/A N/A error N/A ImportError N/A Could not import settings "%s" (Is it on sys.path?): %s N/A settings_module_path e N/A N/A N/A logger warn error N/A N/A N/A KeyError N/A N/A N/A N/A logger warn N/A Environment variable %s is undefined. Use default settings for now. ENVIRONMENT_VARIABLE N/A N/A N/A settings N/A Settings