Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for _serialize_data (0.06 seconds)

  1. fastapi/routing.py

            if not errors:
                # Shared serializer for stream items (JSONL and SSE).
                # Validates against stream_item_field when set, then
                # serializes to JSON bytes.
                def _serialize_data(data: Any) -> bytes:
                    if stream_item_field:
                        value, errors_ = stream_item_field.validate(
                            data, {}, loc=("response",)
                        )
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 15 11:44:39 GMT 2026
    - 193K bytes
    - Click Count (0)
Back to Top