Skip to content

Migrate All URLs to New File #20

Open
@mattdonders

Description

Currently all URLs are stored in config.yaml and loaded up via utils.load_config() function.

We want to take the URLs out of the configuration file because that is client specific and they have a local copy of it and move the URLs into a separate file.

This new file & retrieval function is implemented, but need to move all URL access patterns to use this URL.

def load_urls():
    """ Loads the URLs yaml file and returns a yaml object / dictionary..

    Args:
        None

    Returns:
        A yaml (dictionary) object.
    """

    with open(URLS_PATH) as ymlfile:
        urls = yaml.load(ymlfile, Loader=yaml.FullLoader)

    return urls

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions