Skip to content
Snippets Groups Projects
Commit 9db0dc83 authored by Lukas Kluft's avatar Lukas Kluft
Browse files

Add script to revoke all open FDB requests

parent ba70ebb6
No related branches found
No related tags found
No related merge requests found
#!/home/m/m300575/.conda/envs/polytope/bin/python
"""Revoke all pending requests via the polytope client."""
from polytope.api import Client
def revoke(request_id="all"):
client = Client(address="polytope.lumi.apps.dte.destination-earth.eu")
client.revoke(request_id)
if __name__ == "__main__":
revoke()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment