clearml-server/apiserver/services/debug.py

10 lines
222 B
Python
Raw Normal View History

2021-01-05 14:28:49 +00:00
from apiserver.service_repo import APICall, endpoint
@endpoint("debug.ping")
def ping(call: APICall, _, __):
2023-05-25 16:30:13 +00:00
res = {"msg": "ClearML server"}
if call.data:
res.update(call.data)
call.result.data = res