MCPcopy
hub / github.com/fastapi/fastapi / _serialize_item

Function _serialize_item

fastapi/routing.py:640–641  ·  view source on GitHub ↗
(item: Any)

Source from the content-addressed store, hash-verified

638 gen = dependant.call(**solved_result.values)
639
640 def _serialize_item(item: Any) -> bytes:
641 return _serialize_data(item) + b"\n"
642
643 if dependant.is_async_gen_callable:
644

Callers 2

_async_stream_jsonlFunction · 0.85
_sync_stream_jsonlFunction · 0.85

Calls 1

_serialize_dataFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…