1
0

utils.py 260 B

12345678
  1. def setup(local_namespace: dict, config_class):
  2. """setup(local_namespace: dict, config_class)
  3. Adds all attributes of the configuration class
  4. to the passed namespace as ordinary variables.
  5. """
  6. local_namespace.update(vars(config_class))