-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for terminate job endpoint and unify request_and_check function #44
Conversation
Please note that I also increased the allowed line length to 88 characters in 75601cf. |
OK, 75601cf is reverted, so line length is 79 again and tests pass ... |
OK, I do now have a PR in the pipeline for STRDS support that builds upon this PR (esp the modified |
I hope we get our ruff configuration ready soon in https://github.com/mundialis/github-workflows so that we can use this. Thank you very much for your changes :) |
This PR adds support for terminating jobs (which has not been implemented yet: https://github.com/actinia-org/actinia-python-client/blob/main/src/actinia/job.py#L117)
It also extends the
request_and_check
function so it can be used on all kinds of requests and thus across all modules...I have not checked tested all cases yet...
We are looking at using the python client more actively in ETL worksflows with Apache Airflow. So we may add support for STRDS (and similar additions) as well... Though no time line for that yet...