Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
climatedt-request
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
lkluft
climatedt-request
Commits
9db0dc83
Commit
9db0dc83
authored
10 months ago
by
Lukas Kluft
Browse files
Options
Downloads
Patches
Plain Diff
Add script to revoke all open FDB requests
parent
ba70ebb6
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
revoke.py
+13
-0
13 additions, 0 deletions
revoke.py
with
13 additions
and
0 deletions
revoke.py
0 → 100755
+
13
−
0
View file @
9db0dc83
#!/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
()
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment