Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 31 - 40 of 1,436 for cani (0.02 seconds)

  1. docs/en/docs/tutorial/body-multiple-params.md

    }
    ```
    
    ## Recap { #recap }
    
    You can add multiple body parameters to your *path operation function*, even though a request can only have a single body.
    
    But **FastAPI** will handle it, give you the correct data in your function, and validate and document the correct schema in the *path operation*.
    
    You can also declare singular values to be received as part of the body.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Sep 20 12:58:04 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  2. docs/en/docs/tutorial/dependencies/dependencies-with-yield.md

    So, you can look for that specific exception inside the dependency with `except SomeException`.
    
    In the same way, you can use `finally` to make sure the exit steps are executed, no matter if there was an exception or not.
    
    {* ../../docs_src/dependencies/tutorial007_py39.py hl[3,5] *}
    
    ## Sub-dependencies with `yield` { #sub-dependencies-with-yield }
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 12.9K bytes
    - Click Count (0)
  3. docs/en/docs/tutorial/schema-extra-example.md

    # Declare Request Example Data { #declare-request-example-data }
    
    You can declare examples of the data your app can receive.
    
    Here are several ways to do it.
    
    ## Extra JSON Schema data in Pydantic models { #extra-json-schema-data-in-pydantic-models }
    
    You can declare `examples` for a Pydantic model that will be added to the generated JSON Schema.
    
    {* ../../docs_src/schema_extra_example/tutorial001_py310.py hl[13:24] *}
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 20 15:55:38 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  4. docs/en/docs/help-fastapi.md

    * Many PRs don't have tests, you can **remind** them to add tests, or you can even **suggest** some tests yourself. That's one of the things that consume most time and you can help a lot with that.
    
    * Then also comment what you tried, that way I'll know that you checked it. 🤓
    
    ## Create a Pull Request { #create-a-pull-request }
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sun Aug 31 10:49:48 GMT 2025
    - 14K bytes
    - Click Count (0)
  5. docs/en/docs/tutorial/body-updates.md

    # Body - Updates { #body-updates }
    
    ## Update replacing with `PUT` { #update-replacing-with-put }
    
    To update an item you can use the <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods/PUT" class="external-link" target="_blank">HTTP `PUT`</a> operation.
    
    You can use the `jsonable_encoder` to convert the input data to data that can be stored as JSON (e.g. with a NoSQL database). For example, converting `datetime` to `str`.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 20 15:55:38 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  6. docs/en/docs/tutorial/dependencies/index.md

    But this way we can focus on how the **Dependency Injection** system works.
    
    ### Create a dependency, or "dependable" { #create-a-dependency-or-dependable }
    
    Let's first focus on the dependency.
    
    It is just a function that can take all the same parameters that a *path operation function* can take:
    
    {* ../../docs_src/dependencies/tutorial001_an_py310.py hl[8:9] *}
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sun Aug 31 09:15:41 GMT 2025
    - 9.6K bytes
    - Click Count (0)
  7. docs/en/docs/tutorial/header-params.md

    It is possible to receive duplicate headers. That means, the same header with multiple values.
    
    You can define those cases using a list in the type declaration.
    
    You will receive all the values from the duplicate header as a Python `list`.
    
    For example, to declare a header of `X-Token` that can appear more than once, you can write:
    
    {* ../../docs_src/header_params/tutorial003_an_py310.py hl[9] *}
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sun Aug 31 09:15:41 GMT 2025
    - 3K bytes
    - Click Count (0)
  8. docs/en/docs/reference/request.md

    # `Request` class
    
    You can declare a parameter in a *path operation function* or dependency to be of type `Request` and then you can access the raw request object directly, without any validation, etc.
    
    You can import it directly from `fastapi`:
    
    ```python
    from fastapi import Request
    ```
    
    /// tip
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Aug 06 04:48:30 GMT 2024
    - 518 bytes
    - Click Count (0)
  9. docs/en/docs/tutorial/path-params.md

    You can use the same type declarations with `str`, `float`, `bool` and many other complex data types.
    
    Several of these are explored in the next chapters of the tutorial.
    
    ## Order matters { #order-matters }
    
    When creating *path operations*, you can find situations where you have a fixed path.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 9.2K bytes
    - Click Count (0)
  10. docs/en/docs/advanced/response-headers.md

    ## Use a `Response` parameter { #use-a-response-parameter }
    
    You can declare a parameter of type `Response` in your *path operation function* (as you can do for cookies).
    
    And then you can set headers in that *temporal* response object.
    
    {* ../../docs_src/response_headers/tutorial002_py39.py hl[1, 7:8] *}
    
    And then you can return any object you need, as you normally would (a `dict`, a database model, etc).
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 2.3K bytes
    - Click Count (0)
Back to Top