fdutils/config/__init__.py
def register_settings(settings_vars, section, paths_vars=(), after_update=None):
    """ register a settings module into the config registered_settings so if there is any update after we
        can update those settings

        Args:
            settings_vars: the globals() of the settings module calling this function
            section: a namespace defined in the yaml file that will link the parameters in the yaml file to the settings_vars
            paths_vars: a list of variables that are paths so we can reformat them depending on the runtime environment
            after_update: a function that would get called after any update of settings in case we need to update

    """
    update_settings_with_user_settings(settings_vars, section, paths_vars=paths_vars)

    registered_settings[section] = dict(local_vars=settings_vars,  # locals() from the file calling this
                                        paths_vars=paths_vars,  # what variables from locals() are paths to check
                                        after_update=after_update  # function to call if there is any update to settings
                                        )
 register a settings module into the config registered_settings so if there is any update after we
        can update those settings

        Args:
            settings_vars: the globals() of the settings module calling this function
            section: a namespace defined in the yaml file that will link the parameters in the yaml file to the settings_vars
            paths_vars: a list of variables that are paths so we can reformat them depending on the runtime environment
            after_update: a function that would get called after any update of settings in case we need to update

    
register a settings module into the config registered_settings so if there is any update after we
can update those settings
register a settings module into the config registered_settings so if there is any update after we can update those settings
def register_settings(settings_vars, section, paths_vars=(), after_update=None):
    update_settings_with_user_settings(settings_vars, section, paths_vars=paths_vars)
    registered_settings[section] = dict(local_vars=settings_vars,  
                                        paths_vars=paths_vars,  
                                        after_update=after_update  
                                        )
def register_settings ( settings_vars , section , paths_vars = ( ) , after_update = None ) : update_settings_with_user_settings ( settings_vars , section , paths_vars = paths_vars ) registered_settings [ section ] = dict ( local_vars = settings_vars , paths_vars = paths_vars , after_update = after_update )
register a settings module into the config registered_settings so if there is any update after we
can update those settings
register a settings module into the config registered_settings so if there is any update after we can update those settings
""" register a settings module into the config registered_settings so if there is any update after we
        can update those settings

        Args:
            settings_vars: the globals() of the settings module calling this function
            section: a namespace defined in the yaml file that will link the parameters in the yaml file to the settings_vars
            paths_vars: a list of variables that are paths so we can reformat them depending on the runtime environment
            after_update: a function that would get called after any update of settings in case we need to update

    """ # locals() from the file calling this # what variables from locals() are paths to check # function to call if there is any update to settings
settings_vars
the globals() of the settings module calling this function
the globals () of the settings module calling this function
section
a namespace defined in the yaml file that will link the parameters in the yaml file to the settings_vars
a namespace defined in the yaml file that will link the parameters in the yaml file to the settings_vars
paths_vars
a list of variables that are paths so we can reformat them depending on the runtime environment
a list of variables that are paths so we can reformat them depending on the runtime environment
after_update
a function that would get called after any update of settings in case we need to update
a function that would get called after any update of settings in case we need to update