clearml-server/apiserver/services/debug.py
2023-05-25 19:30:13 +03:00

10 lines
222 B
Python

from apiserver.service_repo import APICall, endpoint
@endpoint("debug.ping")
def ping(call: APICall, _, __):
res = {"msg": "ClearML server"}
if call.data:
res.update(call.data)
call.result.data = res