Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ycai
simbricks
Commits
ebb8dc72
Unverified
Commit
ebb8dc72
authored
Jan 22, 2025
by
Jakob Görgen
Browse files
symphony/client: RunnerClient delete and update runner use runner id prop
parent
53ce4f40
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
symphony/client/simbricks/client/client.py
symphony/client/simbricks/client/client.py
+4
-4
No files found.
symphony/client/simbricks/client/client.py
View file @
ebb8dc72
...
...
@@ -544,12 +544,12 @@ class RunnerClient:
async
with
self
.
post
(
url
=
""
,
json
=
updates
)
as
resp
:
return
await
resp
.
json
()
async
def
delete_runner
(
self
,
runner_id
:
int
)
->
dict
:
async
with
self
.
_ns_client
.
delete
(
url
=
f
"/runners/
{
runner_id
}
"
)
as
resp
:
async
def
delete_runner
(
self
)
->
dict
:
async
with
self
.
delete
(
url
=
"
"
)
as
resp
:
return
await
resp
.
json
()
async
def
get_runner
(
self
,
runner_id
:
int
)
->
dict
:
async
with
self
.
_ns_client
.
get
(
url
=
f
"/runners/
{
runner_id
}
"
)
as
resp
:
async
def
get_runner
(
self
)
->
dict
:
async
with
self
.
get
(
url
=
f
"
"
)
as
resp
:
return
await
resp
.
json
()
async
def
list_runners
(
self
)
->
dict
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment