Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for _check_data_exclusive (0.08 seconds)

  1. fastapi/sse.py

                `EventSource` clients. Useful for keep-alive pings to prevent
                proxy/load-balancer timeouts.
                """
            ),
        ] = None
    
        @model_validator(mode="after")
        def _check_data_exclusive(self) -> "ServerSentEvent":
            if self.data is not None and self.raw_data is not None:
                raise ValueError(
                    "Cannot set both 'data' and 'raw_data' on the same "
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 01 09:21:52 GMT 2026
    - 6.2K bytes
    - Click Count (0)
Back to Top