Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for sheugh (0.35 sec)

  1. docs/en/docs/advanced/behind-a-proxy.md

    In this case, the original path `/app` would actually be served at `/api/v1/app`.
    
    Even though all your code is written assuming there's just `/app`.
    
    ```Python hl_lines="6"
    {!../../../docs_src/behind_a_proxy/tutorial001.py!}
    ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 11.6K bytes
    - Viewed (2)
  2. docs/en/docs/tutorial/response-model.md

        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="9  11  16"
        {!> ../../../docs_src/response_model/tutorial003.py!}
        ```
    
    Here, even though our *path operation function* is returning the same input user that contains the password:
    
    === "Python 3.10+"
    
        ```Python hl_lines="24"
        {!> ../../../docs_src/response_model/tutorial003_py310.py!}
        ```
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 17.9K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/metadata.md

    <img src="/img/tutorial/metadata/image02.png">
    
    ### Order of tags
    
    The order of each tag metadata dictionary also defines the order shown in the docs UI.
    
    For example, even though `users` would go after `items` in alphabetical order, it is shown before them, because we added their metadata as the first dictionary in the list.
    
    ## OpenAPI URL
    
    By default, the OpenAPI schema is served at `/openapi.json`.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sun Mar 31 23:52:53 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/body-nested-models.md

        ```
    
    !!! tip
        Keep in mind that JSON only supports `str` as keys.
    
        But Pydantic has automatic data conversion.
    
        This means that, even though your API clients can only send strings as keys, as long as those strings contain pure integers, Pydantic will convert them and validate them.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 9.5K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/query-params-str-validations.md

        The `Union` in `Union[str, None]` will allow your editor to give you better support and detect errors.
    
    ## Additional validation
    
    We are going to enforce that even though `q` is optional, whenever it is provided, **its length doesn't exceed 50 characters**.
    
    ### Import `Query` and `Annotated`
    
    To achieve that, first import:
    
    * `Query` from `fastapi`
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 25.7K bytes
    - Viewed (0)
  6. docs/en/docs/async.md

    <img src="/img/async/concurrent-burgers/concurrent-burgers-02.png" class="illustration">
    
    The cashier says something to the cook in the kitchen so they know they have to prepare your burgers (even though they are currently preparing the ones for the previous clients).
    
    <img src="/img/async/concurrent-burgers/concurrent-burgers-03.png" class="illustration">
    
    You pay. 💸
    
    The cashier gives you the number of your turn.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 23K bytes
    - Viewed (0)
  7. fastapi/applications.py

                    """
                    The version string of OpenAPI.
    
                    FastAPI will generate OpenAPI version 3.1.0, and will output that as
                    the OpenAPI version. But some tools, even though they might be
                    compatible with OpenAPI 3.1.0, might not recognize it as a valid.
    
                    So you could override this value to trick those tools into using
    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)
Back to top