MCPcopy Create free account
hub / github.com/Lightning-AI/LitServe / encode_response

Method encode_response

tests/unit/test_failed_workers.py:22–23  ·  view source on GitHub ↗
(self, output)

Source from the content-addressed store, hash-verified

20 return self.model(x)
21
22 def encode_response(self, output) -> Response:
23 return {"output": output}
24
25
26def test_worker_monitoring_triggers_shutdown_on_worker_death():

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected