Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for Python (0.19 sec)

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

    Copy the example in a file `main.py`:
    
    === "Python 3.9+"
    
        ```Python
        {!> ../../../docs_src/security/tutorial001_an_py39.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python
        {!> ../../../docs_src/security/tutorial001_an.py!}
        ```
    
    === "Python 3.8+ non-Annotated"
    
        !!! tip
            Prefer to use the `Annotated` version if possible.
    
        ```Python
        {!> ../../../docs_src/security/tutorial001.py!}
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Wed Mar 13 19:02:19 GMT 2024
    - 8.9K bytes
    - Viewed (0)
  2. docs/de/docs/tutorial/security/first-steps.md

    === "Python 3.9+"
    
        ```Python
        {!> ../../../docs_src/security/tutorial001_an_py39.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python
        {!> ../../../docs_src/security/tutorial001_an.py!}
        ```
    
    === "Python 3.8+ nicht annotiert"
    
        !!! tip "Tipp"
            Bevorzugen Sie die `Annotated`-Version, falls möglich.
    
        ```Python
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Mar 30 18:07:08 GMT 2024
    - 10.3K bytes
    - Viewed (0)
  3. docs/zh/docs/tutorial/first-steps.md

    ## 分步概括
    
    ### 步骤 1:导入 `FastAPI`
    
    ```Python hl_lines="1"
    {!../../../docs_src/first_steps/tutorial001.py!}
    ```
    
    `FastAPI` 是一个为你的 API 提供了所有功能的 Python 类。
    
    !!! note "技术细节"
        `FastAPI` 是直接从 `Starlette` 继承的类。
    
        你可以通过 `FastAPI` 使用所有的 Starlette 的功能。
    
    ### 步骤 2:创建一个 `FastAPI`「实例」
    
    ```Python hl_lines="3"
    {!../../../docs_src/first_steps/tutorial001.py!}
    ```
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu May 12 00:06:16 GMT 2022
    - 9.2K bytes
    - Viewed (0)
  4. docs/vi/docs/tutorial/first-steps.md

    ## Tóm lại, từng bước một
    
    ### Bước 1: import `FastAPI`
    
    ```Python hl_lines="1"
    {!../../../docs_src/first_steps/tutorial001.py!}
    ```
    
    `FastAPI` là một Python class cung cấp tất cả chức năng cho API của bạn.
    
    !!! note "Chi tiết kĩ thuật"
        `FastAPI` là một class kế thừa trực tiếp `Starlette`.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Sep 02 15:44:17 GMT 2023
    - 11.2K bytes
    - Viewed (0)
  5. docs/pl/docs/tutorial/first-steps.md

    * **ścieżka**: to `/`.
    * **operacja**: to `get`.
    * **funkcja**: to funkcja poniżej "dekoratora" (poniżej `@app.get("/")`).
    
    ```Python hl_lines="7"
    {!../../../docs_src/first_steps/tutorial001.py!}
    ```
    
    Jest to funkcja Python.
    
    Zostanie ona wywołana przez **FastAPI** za każdym razem, gdy otrzyma żądanie do adresu URL "`/`" przy użyciu operacji `GET`.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 9.8K bytes
    - Viewed (0)
  6. docs/ja/docs/tutorial/security/first-steps.md

    まずはこのコードを使って、どう動くか観察します。その後で、何が起こっているのか理解しましょう。
    
    ## `main.py`を作成
    
    `main.py`に、下記の例をコピーします:
    
    ```Python
    {!../../../docs_src/security/tutorial001.py!}
    ```
    
    ## 実行
    
    !!! info "情報"
        まず<a href="https://github.com/Kludex/python-multipart" class="external-link" target="_blank">`python-multipart`</a>をインストールします。
    
        例えば、`pip install python-multipart`。
    
        これは、**OAuth2**が `ユーザー名` や `パスワード` を送信するために、「フォームデータ」を使うからです。
    
    例を実行します:
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  7. docs/pt/docs/tutorial/first-steps.md

    ## Recapitulando, passo a passo
    
    ### Passo 1: importe `FastAPI`
    
    ```Python hl_lines="1"
    {!../../../docs_src/first_steps/tutorial001.py!}
    ```
    
    `FastAPI` é uma classe Python que fornece todas as funcionalidades para sua API.
    
    !!! note "Detalhes técnicos"
        `FastAPI` é uma classe que herda diretamente de `Starlette`.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 9.6K bytes
    - Viewed (0)
  8. docs/tr/docs/tutorial/first-steps.md

    ## Adım Adım Özetleyelim
    
    ### Adım 1: `FastAPI`yı Projemize Dahil Edelim
    
    ```Python hl_lines="1"
    {!../../../docs_src/first_steps/tutorial001.py!}
    ```
    
    `FastAPI`, API'niz için tüm işlevselliği sağlayan bir Python sınıfıdır.
    
    !!! note "Teknik Detaylar"
        `FastAPI` doğrudan `Starlette`'i miras alan bir sınıftır.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Feb 08 13:10:55 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  9. docs/es/docs/tutorial/first-steps.md

    ## Repaso, paso a paso
    
    ### Paso 1: importa `FastAPI`
    
    ```Python hl_lines="1"
    {!../../../docs_src/first_steps/tutorial001.py!}
    ```
    
    `FastAPI` es una clase de Python que provee toda la funcionalidad para tu API.
    
    !!! note "Detalles Técnicos"
        `FastAPI` es una clase que hereda directamente de `Starlette`.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 9.9K bytes
    - Viewed (0)
  10. docs/em/docs/tutorial/security/first-steps.md

    ## ✍ `main.py`
    
    📁 🖼 📁 `main.py`:
    
    ```Python
    {!../../../docs_src/security/tutorial001.py!}
    ```
    
    ## 🏃 ⚫️
    
    !!! info
        🥇 ❎ <a href="https://github.com/Kludex/python-multipart" class="external-link" target="_blank">`python-multipart`</a>.
    
        🤶 Ⓜ. `pip install python-multipart`.
    
        👉 ↩️ **Oauth2️⃣** ⚙️ "📨 📊" 📨 `username` &amp; `password`.
    
    🏃 🖼 ⏮️:
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Wed Mar 13 19:02:19 GMT 2024
    - 6.8K bytes
    - Viewed (0)
Back to top