IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 15, 2019, 12:27:24 PM (7 years ago)
Author:
fairlamb
Message:

re-add file for testing generic backup config; corerctly name ConfigSchemaSection class

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/ipp-259_genericise_backups/tools/backups/utils/config_parse_helper.py

    r40937 r40945  
    3535
    3636
    37 class ConfigSchema():
     37class ConfigSchemaSection():
    3838    """Defines a schema to be used. Consists of a single section name and
    3939multiple config lines"""
     
    7676
    7777
    78 def parse_config(config: ConfigParser(), schema: ConfigSchema) -> dict:
     78def parse_config(config: ConfigParser(), schema: ConfigSchemaSection) -> dict:
    7979    """For a given config it will extract all values defined by the schema
    8080and return them as a dictionary of the keys and the assoicated value as the
Note: See TracChangeset for help on using the changeset viewer.