helpers.pysdc_helper module

class FrozenClass[source]

Bases: object

Helper class to freeze a class, i.e. to avoid adding more attributes

__isfrozen

Flag to freeze a class

get(key, default=None)[source]

Wrapper for __dict__.get to use when reading variables that might not exist, depending on the configuration

Parameters:
  • key (str) – Name of the variable you wish to read

  • default – Value to be returned if the variable does not exist

Returns:

__dict__.get(key, default)