"git@developer.sourcefind.cn:modelzoo/resnet50_tensorflow.git" did not exist on "6dbdb08c59ce10b94c31d0823dda8766a4476805"
Unverified Commit ebb8dc72 authored by Jakob Görgen's avatar Jakob Görgen
Browse files

symphony/client: RunnerClient delete and update runner use runner id prop

parent 53ce4f40
...@@ -544,12 +544,12 @@ class RunnerClient: ...@@ -544,12 +544,12 @@ class RunnerClient:
async with self.post(url="", json=updates) as resp: async with self.post(url="", json=updates) as resp:
return await resp.json() return await resp.json()
async def delete_runner(self, runner_id: int) -> dict: async def delete_runner(self) -> dict:
async with self._ns_client.delete(url=f"/runners/{runner_id}") as resp: async with self.delete(url="") as resp:
return await resp.json() return await resp.json()
async def get_runner(self, runner_id: int) -> dict: async def get_runner(self) -> dict:
async with self._ns_client.get(url=f"/runners/{runner_id}") as resp: async with self.get(url=f"") as resp:
return await resp.json() return await resp.json()
async def list_runners(self) -> dict: async def list_runners(self) -> dict:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment