cheetahapi/core/config.py
def map_section(self, section, is_list=False):
        """
        Map a given config section into a dictionary

        :param section: Section to be mapped
        :param is_list: Defines whether the options of the section are a list of values
        :return: Dictionary with the options and values of the given section
        """
        section_dict = {}
        options = self.config_parser.options(section)
        for option in options:
            item = self.config_parser.get(section, option)
            section_dict[option] = self.get_list(item) if is_list else item
        return section_dict

        Map a given config section into a dictionary

        :param section: Section to be mapped
        :param is_list: Defines whether the options of the section are a list of values
        :return: Dictionary with the options and values of the given section
        
Map a given config section into a dictionary
Map a given config section into a dictionary
def map_section(self, section, is_list=False):
        section_dict = {}
        options = self.config_parser.options(section)
        for option in options:
            item = self.config_parser.get(section, option)
            section_dict[option] = self.get_list(item) if is_list else item
        return section_dict
def map_section ( self , section , is_list = False ) : section_dict = { } options = self . config_parser . options ( section ) for option in options : item = self . config_parser . get ( section , option ) section_dict [ option ] = self . get_list ( item ) if is_list else item return section_dict
Map a given config section into a dictionary
Map a given config section into a dictionary
"""
        Map a given config section into a dictionary

        :param section: Section to be mapped
        :param is_list: Defines whether the options of the section are a list of values
        :return: Dictionary with the options and values of the given section
        """
Dictionary with the options and values of the given section
Dictionary with the options and values of the given section
self
section
Section to be mapped
Section to be mapped
is_list
Defines whether the options of the section are a list of values
Defines whether the options of the section are a list of values