ozreactor.config package¶
Submodules¶
ozreactor.config.config module¶
- class ozreactor.config.config.AuthenticationDetails(username: str, password: str)¶
Bases:
tupleA (username, password) tuple.
- property password¶
Alias for field number 1
- property username¶
Alias for field number 0
- class ozreactor.config.config.OzConfig¶
Bases:
dictClass containing necessary configuration parameters specific to the current invocation.
Initially this is just a Python dict built from a JSON file, but it’s subclassed to eventually allow input validation against a schema.
Populated via a collection of environment variables prefixed with OZR_ or SLURM_
- dump_vars()¶
- ozreactor.config.config.generate_config()¶
Generates an OzConfig object from local environment vars.
- Returns
OzConfig object
- ozreactor.config.config.test()¶