Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Lightning-AI/LitServe
/ encode_response
Method
encode_response
tests/unit/test_form.py:32–33 ·
view source on GitHub ↗
(self, output)
Source
from the content-addressed store, hash-verified
30
return
self.model(x)
31
32
def
encode_response(self, output) -> Response:
33
return
{
"output"
: output}
34
35
36
def
test_multipart_form_data(tmp_path):
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected