Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for Annotations (0.14 sec)

  1. fastapi/routing.py

            self.endpoint = endpoint
            if isinstance(response_model, DefaultPlaceholder):
                return_annotation = get_typed_return_annotation(endpoint)
                if lenient_issubclass(return_annotation, Response):
                    response_model = None
                else:
                    response_model = return_annotation
            self.response_model = response_model
            self.summary = summary
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Apr 02 02:48:51 GMT 2024
    - 170.1K bytes
    - Viewed (0)
Back to top