def _default_config(self, return_type):
        """ Generates a default instance of whatever the type requested was (in case of miss)

        :param return_type: type, type of object requested
        :return: object, instance of return_type
        """
        if return_type == list:
            return [k for k in self.config_file_contents]
        return return_type()
def _default_config ( self , return_type ) : if return_type == list : return [ k for k in self . config_file_contents ] return return_type ( )
Generates a default instance of whatever the type requested was (in case of miss)

        :param return_type: type, type of object requested
        :return: object, instance of return_type