ewoksjob.config.read_configuration

ewoksjob.config.read_configuration(cfg_uri)[source]

Different types of URI’s are supported:

  • Python module:
    • myproject.config

  • Python file:
    • /tmp/ewoks/config.py

  • Yaml file:
    • /tmp/ewoks/config.yml

  • Beacon yaml file:
    • beacon:///ewoks/config.yml (this requires the BEACON_HOST environment variable)

    • beacon://id22:25000/ewoks/config.yml

Parameters:

cfg_uri (str) –

Return type:

dict