Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 46 for Chater (0.2 sec)

  1. docs/en/docs/deployment/concepts.md

    But for now, let's check these important **conceptual ideas**. These concepts also apply to any other type of web API. πŸ’‘
    
    ## Security - HTTPS
    
    In the [previous chapter about HTTPS](https.md){.internal-link target=_blank} we learned about how HTTPS provides encryption for your API.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 18K bytes
    - Viewed (0)
  2. docs/en/docs/python-types.md

    But even if you never use **FastAPI**, you would benefit from learning a bit about them.
    
    !!! note
        If you are a Python expert, and you already know everything about type hints, skip to the next chapter.
    
    ## Motivation
    
    Let's start with a simple example:
    
    ```Python
    {!../../../docs_src/python_types/tutorial001.py!}
    ```
    
    Calling this program outputs:
    
    ```
    John Doe
    ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 17K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/security/first-steps.md

        * A "token" is just a string with some content that we can use later to verify this user.
        * Normally, a token is set to expire after some time.
            * So, the user will have to log in again at some point later.
            * And if the token is stolen, the risk is less. It is not like a permanent key that will work forever (in most of the cases).
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Wed Mar 13 19:02:19 GMT 2024
    - 8.9K bytes
    - Viewed (0)
  4. docs/en/docs/how-to/async-sql-encode-databases.md

    It is compatible with:
    
    * PostgreSQL
    * MySQL
    * SQLite
    
    In this example, we'll use **SQLite**, because it uses a single file and Python has integrated support. So, you can copy this example and run it as is.
    
    Later, for your production application, you might want to use a database server like **PostgreSQL**.
    
    !!! tip
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 5.3K bytes
    - Viewed (0)
  5. docs/en/docs/how-to/nosql-databases-couchbase.md

    For now, don't pay attention to the rest, only the imports:
    
    ```Python hl_lines="3-5"
    {!../../../docs_src/nosql_databases/tutorial001.py!}
    ```
    
    ## Define a constant to use as a "document type"
    
    We will use it later as a fixed field `type` in our documents.
    
    This is not required by Couchbase, but is a good practice that will help you afterwards.
    
    ```Python hl_lines="9"
    {!../../../docs_src/nosql_databases/tutorial001.py!}
    ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Jan 16 13:23:25 GMT 2024
    - 6K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/body-multiple-params.md

        {!> ../../../docs_src/body_multiple_params/tutorial004.py!}
        ```
    
    !!! info
        `Body` also has all the same extra validation and metadata parameters as `Query`,`Path` and others you will see later.
    
    ## Embed a single body parameter
    
    Let's say you only have a single `item` body parameter from a Pydantic model `Item`.
    
    By default, **FastAPI** will then expect its body directly.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Oct 17 05:59:11 GMT 2023
    - 7.7K bytes
    - Viewed (0)
  7. docs/en/docs/deployment/https.md

    <img src="/img/deployment/https/https03.svg">
    
    The client already **trusts** the entity that generated that TLS certificate (in this case Let's Encrypt, but we'll see about that later), so it can **verify** that the certificate is valid.
    
    Then, using the certificate, the client and the TLS Termination Proxy **decide how to encrypt** the rest of the **TCP communication**. This completes the **TLS Handshake** part.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Jan 11 16:31:18 GMT 2024
    - 12K bytes
    - Viewed (0)
  8. docs/en/docs/release-notes.md

    * πŸ‘₯ Update FastAPI People. PR [#9999](https://github.com/tiangolo/fastapi/pull/9999) by [@tiangolo](https://github.com/tiangolo).
    * 🐳 Update Dockerfile with compatibility versions, to upgrade later. PR [#9998](https://github.com/tiangolo/fastapi/pull/9998) by [@tiangolo](https://github.com/tiangolo).
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri May 03 23:25:42 GMT 2024
    - 388.1K bytes
    - Viewed (1)
  9. docs/en/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md

    !!! info
        In this example we use invented custom headers `X-Key` and `X-Token`.
    
        But in real cases, when implementing security, you would get more benefits from using the integrated [Security utilities (the next chapter)](../security/index.md){.internal-link target=_blank}.
    
    ## Dependencies errors and return values
    
    You can use the same dependency *functions* you use normally.
    
    ### Dependency requirements
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Oct 17 05:59:11 GMT 2023
    - 4.1K bytes
    - Viewed (0)
  10. docs/ko/docs/tutorial/path-params-numeric-validations.md

    `Query`와 `Path`(λ‚˜μ€‘μ— λ³Ό λ‹€λ₯Έ 것듀도)λ₯Ό μ‚¬μš©ν•˜μ—¬ λ¬Έμžμ—΄ 뿐만 μ•„λ‹ˆλΌ 숫자의 μ œμ•½μ„ μ„ μ–Έν•  수 μžˆμŠ΅λ‹ˆλ‹€.
    
    μ—¬κΈ°μ„œ `ge=1`인 경우, `item_id`λŠ” `1`보닀 "ν¬κ±°λ‚˜(`g`reater) 같은(`e`qual)" μ •μˆ˜ν˜• μˆ«μžμ—¬μ•Ό ν•©λ‹ˆλ‹€.
    
    ```Python hl_lines="8"
    {!../../../docs_src/path_params_numeric_validations/tutorial004.py!}
    ```
    
    ## 숫자 검증: ν¬κ±°λ‚˜ κ°™μŒ 및 μž‘κ±°λ‚˜ κ°™μŒ
    
    λ™μΌν•˜κ²Œ μ μš©λ©λ‹ˆλ‹€:
    
    * `gt`: ν¬κ±°λ‚˜(`g`reater `t`han)
    * `le`: μž‘κ±°λ‚˜ 같은(`l`ess than or `e`qual)
    
    ```Python hl_lines="9"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat May 14 11:59:59 GMT 2022
    - 5.6K bytes
    - Viewed (0)
Back to top