mirror of
https://github.com/clearml/clearml-server
synced 2025-01-31 10:56:48 +00:00
10 lines
222 B
Python
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
|