iteebot/configurator.py
def load_config(path):
    """
    Loads configuration from path. The loaded configuration is updated on top
    top of the factory configuration in this file to ensure that the resulting
    dictionary has all of the required keys.

    * path (str) - path to the configuration file
    """

    with open(path, encoding="utf-8") as f:
        local = json.load(f)
    
    config = FACTORY.copy()
    config.update(local)
    return config

    Loads configuration from path. The loaded configuration is updated on top
    top of the factory configuration in this file to ensure that the resulting
    dictionary has all of the required keys.

    * path (str) - path to the configuration file
    
Loads configuration from path. The loaded configuration is updated on top
top of the factory configuration in this file to ensure that the resulting
dictionary has all of the required keys.

path (str) - path to the configuration file
Loads configuration from path . The loaded configuration is updated on top top of the factory configuration in this file to ensure that the resulting dictionary has all of the required keys . path ( str ) - path to the configuration file
def load_config(path):
    with open(path, encoding="utf-8") as f:
        local = json.load(f)
    config = FACTORY.copy()
    config.update(local)
    return config
def load_config ( path ) : with open ( path , encoding = "utf-8" ) as f : local = json . load ( f ) config = FACTORY . copy ( ) config . update ( local ) return config
Loads configuration from path.
Loads configuration from path .
"""
    Loads configuration from path. The loaded configuration is updated on top
    top of the factory configuration in this file to ensure that the resulting
    dictionary has all of the required keys.

    * path (str) - path to the configuration file
    """
path