OpenQuizz
Une application de gestion des contenus pédagogiques
|
Public Member Functions | |
def | __init__ (self, target_obj, options, ignore_option_errors=False) |
def | parsers (self) |
def | __setitem__ (self, option_name, value) |
def | parse_section (self, section_options) |
def | parse (self) |
Data Fields | |
ignore_option_errors | |
target_obj | |
sections | |
set_options | |
Static Public Attributes | |
section_prefix | |
aliases | |
Handles metadata supplied in configuration files.
def __init__ | ( | self, | |
target_obj, | |||
options, | |||
ignore_option_errors = False |
|||
) |
def __setitem__ | ( | self, | |
option_name, | |||
value | |||
) |
def parse | ( | self | ) |
Parses configuration file items from one or more related sections.
def parse_section | ( | self, | |
section_options | |||
) |
Parses configuration file section. :param dict section_options:
def parsers | ( | self | ) |
Metadata item name to parser function mapping.
Reimplemented in ConfigOptionsHandler, and ConfigMetadataHandler.
|
static |
ignore_option_errors |
|
static |
sections |
set_options |
target_obj |