Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 223 for know (0.01 sec)

  1. docs/en/docs/tutorial/dependencies/classes-as-dependencies.md

    But then we get a `dict` in the parameter `commons` of the *path operation function*.
    
    And we know that editors can't provide a lot of support (like completion) for `dict`s, because they can't know their keys and value types.
    
    We can do better...
    
    ## What makes a dependency { #what-makes-a-dependency }
    
    Up to now you have seen dependencies declared as functions.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  2. docs/en/docs/deployment/https.md

    When using a proxy to handle HTTPS, your **application server** (for example Uvicorn via FastAPI CLI) doesn't known anything about the HTTPS process, it communicates with plain HTTP with the **TLS Termination Proxy**.
    
    This **proxy** would normally set some HTTP headers on the fly before transmitting the request to the **application server**, to let the application server know that the request is being **forwarded** by the proxy.
    
    /// note | Technical Details
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 19:34:08 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/security/first-steps.md

    **FastAPI** will know that it can use the class `OAuth2PasswordBearer` (declared in a dependency) to define the security scheme in OpenAPI because it inherits from `fastapi.security.oauth2.OAuth2`, which in turn inherits from `fastapi.security.base.SecurityBase`.
    
    All the security utilities that integrate with OpenAPI (and the automatic API docs) inherit from `SecurityBase`, that's how **FastAPI** can know how to integrate them in OpenAPI.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/dependencies/sub-dependencies.md

    {* ../../docs_src/dependencies/tutorial005_an_py310.py hl[23] *}
    
    /// info
    
    Notice that we are only declaring one dependency in the *path operation function*, the `query_or_cookie_extractor`.
    
    But **FastAPI** will know that it has to solve `query_extractor` first, to pass the results of that to `query_or_cookie_extractor` while calling it.
    
    ///
    
    ```mermaid
    graph TB
    
    query_extractor(["query_extractor"])
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/query-params-str-validations.md

    Now you know that whenever you need them you can use them in **FastAPI**.
    
    ### Pydantic v1 `regex` instead of `pattern` { #pydantic-v1-regex-instead-of-pattern }
    
    Before Pydantic version 2 and before FastAPI 0.100.0, the parameter was called `regex` instead of `pattern`, but it's now deprecated.
    
    You could still see some code using it:
    
    //// tab | Pydantic v1
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 17.2K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/response-status-code.md

    /// note
    
    Some response codes (see the next section) indicate that the response does not have a body.
    
    FastAPI knows this, and will produce OpenAPI docs that state there is no response body.
    
    ///
    
    ## About HTTP status codes { #about-http-status-codes }
    
    /// note
    
    If you already know what HTTP status codes are, skip to the next section.
    
    ///
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 4K bytes
    - Viewed (0)
  7. docs/en/docs/features.md

    With **FastAPI** you get all of **Pydantic**'s features (as FastAPI is based on Pydantic for all the data handling):
    
    * **No brainfuck**:
        * No new schema definition micro-language to learn.
        * If you know Python types you know how to use Pydantic.
    * Plays nicely with your **<abbr title="Integrated Development Environment, similar to a code editor">IDE</abbr>/<abbr title="A program that checks for code errors">linter</abbr>/brain**:
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  8. docs/en/docs/help-fastapi.md

    <a href="https://x.com/compose/tweet?text=I'm loving @fastapi because... https://github.com/fastapi/fastapi" class="external-link" target="_blank">Tweet about **FastAPI**</a> and let me and others know why you like it. 🎉
    
    I love to hear about how **FastAPI** is being used, what you have liked in it, in which project/company are you using it, etc.
    
    ## Vote for FastAPI { #vote-for-fastapi }
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 14K bytes
    - Viewed (0)
  9. docs/en/docs/environment-variables.md

    # Environment Variables { #environment-variables }
    
    /// tip
    
    If you already know what "environment variables" are and how to use them, feel free to skip this.
    
    ///
    
    An environment variable (also known as "**env var**") is a variable that lives **outside** of the Python code, in the **operating system**, and could be read by your Python code (or by other programs as well).
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  10. docs/en/docs/advanced/index.md

    You could still use most of the features in **FastAPI** with the knowledge from the main [Tutorial - User Guide](../tutorial/index.md){.internal-link target=_blank}.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 817 bytes
    - Viewed (0)
Back to top