jrxFive / python-nomad

Client library Hashicorp Nomad
https://python-nomad.readthedocs.io/en/latest/
MIT License
139 stars 73 forks source link

Add support for namespace in get_job #118

Closed rndmh3ro closed 3 years ago

rndmh3ro commented 3 years ago

Similiary to https://github.com/jrxFive/python-nomad/pull/115, I'd like support for passing the namespace to the get_job function. The API already supports it: https://www.nomadproject.io/api-docs/jobs#read-job

This way I can connect to the nomad-API with a specific namespace but can also get jobs from other namespaces.