Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for _serialize_sse_item (0.69 seconds)

  1. fastapi/routing.py

                if is_sse_stream:
                    # Generator endpoint: stream as Server-Sent Events
                    gen = dependant.call(**solved_result.values)
    
                    def _serialize_sse_item(item: Any) -> bytes:
                        if isinstance(item, ServerSentEvent):
                            # User controls the event structure.
                            # Serialize the data payload if present.
    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