Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for endpoint_ctx (0.05 seconds)

  1. fastapi/exceptions.py

    
    class ResponseValidationError(ValidationException):
        def __init__(
            self,
            errors: Sequence[Any],
            *,
            body: Any = None,
            endpoint_ctx: EndpointContext | None = None,
        ) -> None:
            super().__init__(errors, endpoint_ctx=endpoint_ctx)
            self.body = body
    
    
    class PydanticV1NotSupportedError(FastAPIError):
        """
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Feb 11 18:41:21 GMT 2026
    - 7.3K bytes
    - Click Count (0)
  2. fastapi/routing.py

                    field.validate, response_content, {}, loc=("response",)
                )
            if errors:
                ctx = endpoint_ctx or EndpointContext()
                raise ResponseValidationError(
                    errors=errors,
                    body=response_content,
                    endpoint_ctx=ctx,
                )
            serializer = field.serialize_json if dump_json else field.serialize
            return serializer(
    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