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

Method decode_request

tests/unit/test_lit_server.py:743–744  ·  view source on GitHub ↗
(self, request)

Source from the content-addressed store, hash-verified

741 print(f"Worker {worker_id} setup successfully on {device}")
742
743 def decode_request(self, request):
744 return request["input"]
745
746 def predict(self, x):
747 if x == 0:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected