Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for promise (0.16 sec)

  1. fastapi/applications.py

                bool,
                Doc(
                    """
                    Whether to generate separate OpenAPI schemas for request body and
                    response body when the results would be more precise.
    
                    This is particularly useful when automatically generating clients.
    
                    For example, if you have a model like:
    
                    ```python
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Apr 02 02:48:51 GMT 2024
    - 172.2K bytes
    - Viewed (0)
  2. fastapi/routing.py

    ) -> Any:
        # Only called by get_request_handler. Has been split into its own function to
        # facilitate profiling endpoints, since inner functions are harder to profile.
        assert dependant.call is not None, "dependant.call must be a function"
    
        if is_coroutine:
            return await dependant.call(**values)
        else:
    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