- Timestamp:
- Oct 15, 2019, 12:27:24 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/ipp-259_genericise_backups/tools/backups/utils/config_parse_helper.py
r40937 r40945 35 35 36 36 37 class ConfigSchema ():37 class ConfigSchemaSection(): 38 38 """Defines a schema to be used. Consists of a single section name and 39 39 multiple config lines""" … … 76 76 77 77 78 def parse_config(config: ConfigParser(), schema: ConfigSchema ) -> dict:78 def parse_config(config: ConfigParser(), schema: ConfigSchemaSection) -> dict: 79 79 """For a given config it will extract all values defined by the schema 80 80 and return them as a dictionary of the keys and the assoicated value as the
Note:
See TracChangeset
for help on using the changeset viewer.
