localpdb/utils/config.py
def load_remote_source(mirror=''):
    """
    Loads config file with definition of the remote data sources and formats it according to the chosen mirror.
    @return: loaded config dictionary
    """
    my_path = os.path.dirname(os.path.realpath(__file__))
    with open('{}/remote_sources.yml'.format(my_path)) as f:
        config = yaml.safe_load(f)
    if mirror:
        mirrors = config.pop('mirrors')
        config.update(mirrors[mirror])
    return config

    Loads config file with definition of the remote data sources and formats it according to the chosen mirror.
    @return: loaded config dictionary
    
Loads config file with definition of the remote data sources and formats it according to the chosen mirror.
Loads config file with definition of the remote data sources and formats it according to the chosen mirror .
def load_remote_source(mirror=''):
    my_path = os.path.dirname(os.path.realpath(__file__))
    with open('{}/remote_sources.yml'.format(my_path)) as f:
        config = yaml.safe_load(f)
    if mirror:
        mirrors = config.pop('mirrors')
        config.update(mirrors[mirror])
    return config
def load_remote_source ( mirror = '' ) : my_path = os . path . dirname ( os . path . realpath ( __file__ ) ) with open ( '{}/remote_sources.yml' . format ( my_path ) ) as f : config = yaml . safe_load ( f ) if mirror : mirrors = config . pop ( 'mirrors' ) config . update ( mirrors [ mirror ] ) return config
Loads config file with definition of the remote data sources and formats it according to the chosen mirror.
Loads config file with definition of the remote data sources and formats it according to the chosen mirror .
"""
    Loads config file with definition of the remote data sources and formats it according to the chosen mirror.
    @return: loaded config dictionary
    """
loaded config dictionary
loaded config dictionary
mirror