python-nomad
python-nomad copied to clipboard
Nomad logs
Hi,
Is there any way to execute nomad logs command? I could not see it in the docs and may be a great feature for the library.
Hey @i4s-strinidad, the client endpoint has changed a couple times with newer releases. Depending on your version of nomad and the client library you might have mixed results.
https://github.com/jrxFive/python-nomad/blob/master/nomad/api/client.py
Probably interested in:
- https://github.com/jrxFive/python-nomad/blob/master/nomad/api/client.py#L68-L97 (cat)
- https://github.com/jrxFive/python-nomad/blob/master/nomad/api/client.py#L37-L65 (ls)
If you have any issues with those please let me know and we can try to rectify them; also absolutely right on having them in the documentation.
why the tests(https://github.com/jrxFive/python-nomad/tree/master/tests) dose not have "nomad logs" example?
Is there any way to execute nomad logs command?