Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 32 for Recap (0.15 sec)

  1. docs/en/docs/tutorial/first-steps.md

    You could also use it to generate code automatically, for clients that communicate with your API. For example, frontend, mobile or IoT applications.
    
    ## Recap, step by step
    
    ### Step 1: import `FastAPI`
    
    ```Python hl_lines="1"
    {!../../../docs_src/first_steps/tutorial001.py!}
    ```
    
    `FastAPI` is a Python class that provides all the functionality for your API.
    
    Plain Text
    - Registered: Sun Apr 14 07:19:09 GMT 2024
    - Last Modified: Fri Jun 30 18:25:16 GMT 2023
    - 9.2K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/body-fields.md

        As these keys may not necessarily be part of the OpenAPI specification, some OpenAPI tools, for example [the OpenAPI validator](https://validator.swagger.io/), may not work with your generated schema.
    
    ## Recap
    
    You can use Pydantic's `Field` to declare extra validations and metadata for model attributes.
    
    Plain Text
    - Registered: Sun Apr 14 07:19:09 GMT 2024
    - Last Modified: Tue Oct 17 05:59:11 GMT 2023
    - 3.6K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/request-forms.md

        This is not a limitation of **FastAPI**, it's part of the HTTP protocol.
    
    ## Recap
    
    Plain Text
    - Registered: Sun Apr 14 07:19:09 GMT 2024
    - Last Modified: Wed Mar 13 19:02:19 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/request-forms-and-files.md

        This is not a limitation of **FastAPI**, it's part of the HTTP protocol.
    
    ## Recap
    
    Plain Text
    - Registered: Sun Apr 14 07:19:09 GMT 2024
    - Last Modified: Wed Mar 13 19:02:19 GMT 2024
    - 2K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/cookie-params.md

    !!! info
        To declare cookies, you need to use `Cookie`, because otherwise the parameters would be interpreted as query parameters.
    
    ## Recap
    
    Plain Text
    - Registered: Sun Apr 14 07:19:09 GMT 2024
    - Last Modified: Tue Oct 17 05:59:11 GMT 2023
    - 2.4K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/background-tasks.md

    But if you need to access variables and objects from the same **FastAPI** app, or you need to perform small background tasks (like sending an email notification), you can simply just use `BackgroundTasks`.
    
    ## Recap
    
    Plain Text
    - Registered: Sun Apr 14 07:19:09 GMT 2024
    - Last Modified: Tue Oct 17 05:59:11 GMT 2023
    - 5.6K bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/header-params.md

    ```
    X-Token: foo
    X-Token: bar
    ```
    
    The response would be like:
    
    ```JSON
    {
        "X-Token values": [
            "bar",
            "foo"
        ]
    }
    ```
    
    ## Recap
    
    Declare headers with `Header`, using the same common pattern as `Query`, `Path` and `Cookie`.
    
    Plain Text
    - Registered: Sun Apr 14 07:19:09 GMT 2024
    - Last Modified: Tue Oct 17 05:59:11 GMT 2023
    - 5.8K bytes
    - Viewed (0)
  8. docs/en/docs/tutorial/body-updates.md

        {!> ../../../docs_src/body_updates/tutorial002_py39.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="35"
        {!> ../../../docs_src/body_updates/tutorial002.py!}
        ```
    
    ### Partial updates recap
    
    In summary, to apply partial updates you would:
    
    * (Optionally) use `PATCH` instead of `PUT`.
    * Retrieve the stored data.
    * Put that data in a Pydantic model.
    Plain Text
    - Registered: Sun Apr 14 07:19:09 GMT 2024
    - Last Modified: Wed Jan 10 19:13:55 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/security/get-current-user.md

    === "Python 3.8+ non-Annotated"
    
        !!! tip
            Prefer to use the `Annotated` version if possible.
    
        ```Python hl_lines="30-32"
        {!> ../../../docs_src/security/tutorial002.py!}
        ```
    
    ## Recap
    
    You can now get the current user directly in your *path operation function*.
    
    We are already halfway there.
    
    We just need to add a *path operation* for the user/client to actually send the `username` and `password`.
    Plain Text
    - Registered: Sun Apr 14 07:19:09 GMT 2024
    - Last Modified: Thu Jan 11 16:31:18 GMT 2024
    - 7.6K bytes
    - Viewed (0)
  10. docs/en/docs/tutorial/dependencies/sub-dependencies.md

        ```Python hl_lines="1"
        async def needy_dependency(fresh_value: str = Depends(get_value, use_cache=False)):
            return {"fresh_value": fresh_value}
        ```
    
    ## Recap
    
    Apart from all the fancy words used here, the **Dependency Injection** system is quite simple.
    
    Just functions that look the same as the *path operation functions*.
    
    Plain Text
    - Registered: Sun Apr 14 07:19:09 GMT 2024
    - Last Modified: Tue Oct 17 05:59:11 GMT 2023
    - 5.6K bytes
    - Viewed (0)
Back to top