Search Options

Results per page
Sort
Preferred Languages
Advance

Results 411 - 420 of 873 for Python3 (0.05 sec)

  1. .github/workflows/notify-translations.yml

            env:
              GITHUB_CONTEXT: ${{ toJson(github) }}
            run: echo "$GITHUB_CONTEXT"
          - uses: actions/checkout@v4
          - uses: actions/checkout@v4
          - name: Set up Python
            uses: actions/setup-python@v5
            with:
              python-version: "3.11"
          - name: Setup uv
            uses: astral-sh/setup-uv@v3
            with:
              version: "0.4.15"
              enable-cache: true
              cache-dependency-glob: |
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Oct 12 12:27:19 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  2. docs/de/docs/tutorial/handling-errors.md

    ### `HTTPException` importieren
    
    ```Python hl_lines="1"
    {!../../docs_src/handling_errors/tutorial001.py!}
    ```
    
    ### Eine `HTTPException` in Ihrem Code auslösen
    
    `HTTPException` ist eine normale Python-<abbr title="Exception – Ausnahme, Fehler: Python-Objekt, das einen Fehler nebst Metadaten repräsentiert">Exception</abbr> mit einigen zusätzlichen Daten, die für APIs relevant sind.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  3. docs/zh/docs/advanced/custom-response.md

    /// warning | "警告"
    
    在处理某些边缘情况时,`ujson` 不如 Python 的内置实现那么谨慎。
    
    ///
    
    ```Python hl_lines="2 7"
    {!../../docs_src/custom_response/tutorial001.py!}
    ```
    
    /// tip | "小贴士"
    
    `ORJSONResponse` 可能是一个更快的选择。
    
    ///
    
    ### `RedirectResponse`
    
    返回 HTTP 重定向。默认情况下使用 307 状态代码(临时重定向)。
    
    ```Python hl_lines="2  9"
    {!../../docs_src/custom_response/tutorial006.py!}
    ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  4. docs/zh/docs/tutorial/security/first-steps.md

    ## 创建 `main.py`
    
    把下面的示例代码复制到 `main.py`:
    
    //// tab | Python 3.9+
    
    ```Python
    {!> ../../docs_src/security/tutorial001_an_py39.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+
    
    ```Python
    {!> ../../docs_src/security/tutorial001_an.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+ non-Annotated
    
    /// tip
    
    尽可能选择使用 `Annotated` 的版本。
    
    ///
    
    ```Python
    {!> ../../docs_src/security/tutorial001.py!}
    ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  5. docs/ko/docs/tutorial/dependencies/global-dependencies.md

    그런 경우에, 애플리케이션의 모든 *경로 작동*에 적용될 것입니다:
    
    //// tab | Python 3.9+
    
    ```Python hl_lines="16"
    {!> ../../docs_src/dependencies/tutorial012_an_py39.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+
    
    ```Python hl_lines="16"
    {!> ../../docs_src/dependencies/tutorial012_an.py!}
    ```
    
    ////
    
    //// tab | Python 3.8 Annotated가 없는 경우
    
    /// tip | "팁"
    
    가능하다면 `Annotated`가 달린 버전을 권장합니다.
    
    ///
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  6. docs/em/docs/advanced/custom-response.md

    FastAPI (🤙 💃) 🔜 🔁 🔌 🎚-📐 🎚. ⚫️ 🔜 🔌 🎚-🆎 🎚, ⚓️ 🔛 = &amp; 🔁 = ✍ 🆎.
    
    ```Python hl_lines="1  18"
    {!../../docs_src/response_directly/tutorial002.py!}
    ```
    
    ### `HTMLResponse`
    
    ✊ ✍ ⚖️ 🔢 &amp; 📨 🕸 📨, 👆 ✍ 🔛.
    
    ### `PlainTextResponse`
    
    ✊ ✍ ⚖️ 🔢 &amp; 📨 ✅ ✍ 📨.
    
    ```Python hl_lines="2  7  9"
    {!../../docs_src/custom_response/tutorial005.py!}
    ```
    
    ### `JSONResponse`
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  7. docs/nl/docs/features.md

    ### Gewoon Moderne Python
    
    Het is allemaal gebaseerd op standaard **Python type** declaraties (dankzij Pydantic). Je hoeft dus geen nieuwe syntax te leren. Het is gewoon standaard moderne Python.
    
    Als je een opfriscursus van 2 minuten nodig hebt over het gebruik van Python types (zelfs als je FastAPI niet gebruikt), bekijk dan deze korte tutorial: [Python Types](python-types.md){.internal-link target=_blank}.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Sep 03 13:50:38 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  8. docs/de/docs/advanced/events.md

    ```Python hl_lines="1  13"
    {!../../docs_src/events/tutorial003.py!}
    ```
    
    Ein **Kontextmanager** in Python ist etwas, das Sie in einer `with`-Anweisung verwenden können, zum Beispiel kann `open()` als Kontextmanager verwendet werden:
    
    ```Python
    with open("file.txt") as file:
        file.read()
    ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  9. docs/hu/docs/index.md

    Ezt standard modern Python típusokkal csinálod.
    
    Nem kell új szintaxist, vagy specifikus könyvtár mert metódósait, stb. megtanulnod.
    
    Csak standard **Python**.
    
    Például egy `int`-nek:
    
    ```Python
    item_id: int
    ```
    
    Egy komplexebb `Item` modellnek:
    
    ```Python
    item: Item
    ```
    
    ... És csupán egy deklarációval megkapod a:
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 20 19:20:23 UTC 2024
    - 20.2K bytes
    - Viewed (0)
  10. docs/pt/docs/tutorial/body.md

    Primeiro, você precisa importar `BaseModel` do `pydantic`:
    
    ```Python hl_lines="4"
    {!../../docs_src/body/tutorial001.py!}
    ```
    
    ## Crie seu modelo de dados
    
    Então você declara seu modelo de dados como uma classe que herda `BaseModel`.
    
    Utilize os tipos Python padrão para todos os atributos:
    
    ```Python hl_lines="7-11"
    {!../../docs_src/body/tutorial001.py!}
    ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 7.1K bytes
    - Viewed (0)
Back to top