Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 391 - 400 of 519 for tutorial003_an_py310 (0.15 seconds)

  1. docs/fr/docs/tutorial/security/oauth2-jwt.md

    {* ../../docs_src/security/tutorial004_an_py310.py hl[93:110] *}
    
    ## Mettre à jour le *chemin d'accès* `/token` { #update-the-token-path-operation }
    
    Créez un `timedelta` avec la durée d'expiration du jeton.
    
    Créez un véritable jeton d'accès JWT et renvoyez-le.
    
    {* ../../docs_src/security/tutorial004_an_py310.py hl[121:136] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 12.6K bytes
    - Click Count (0)
  2. docs/fr/docs/tutorial/extra-data-types.md

    {* ../../docs_src/extra_data_types/tutorial001_an_py310.py hl[1,3,12:16] *}
    
    Notez que les paramètres à l'intérieur de la fonction ont leur type de données naturel et que vous pouvez, par exemple, effectuer des manipulations de dates normales, comme :
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 3.2K bytes
    - Click Count (0)
  3. docs/en/docs/tutorial/security/first-steps.md

    Let's first just use the code and see how it works, and then we'll come back to understand what's happening.
    
    ## Create `main.py` { #create-main-py }
    
    Copy the example in a file `main.py`:
    
    {* ../../docs_src/security/tutorial001_an_py310.py *}
    
    ## Run it { #run-it }
    
    /// info
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Mar 07 09:29:03 GMT 2026
    - 8.3K bytes
    - Click Count (0)
  4. docs/fr/docs/tutorial/security/first-steps.md

    ## Créer `main.py` { #create-main-py }
    
    Copiez l'exemple dans un fichier `main.py` :
    
    {* ../../docs_src/security/tutorial001_an_py310.py *}
    
    ## Exécuter { #run-it }
    
    /// info
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 9.3K bytes
    - Click Count (0)
  5. docs/ru/docs/tutorial/body-fields.md

    ## Импорт `Field` { #import-field }
    
    Сначала вы должны импортировать его:
    
    {* ../../docs_src/body_fields/tutorial001_an_py310.py hl[4] *}
    
    /// warning | Внимание
    
    Обратите внимание, что функция `Field` импортируется непосредственно из `pydantic`, а не из `fastapi`, как все остальные функции (`Query`, `Path`, `Body` и т.д.).
    
    ///
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Sep 30 11:24:39 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  6. docs/tr/docs/tutorial/request-forms.md

    ## `Form`'u Import Edin { #import-form }
    
    `Form`'u `fastapi`'den import edin:
    
    {* ../../docs_src/request_forms/tutorial001_an_py310.py hl[3] *}
    
    ## `Form` Parametrelerini Tanımlayın { #define-form-parameters }
    
    Form parametrelerini `Body` veya `Query` için yaptığınız gibi oluşturun:
    
    {* ../../docs_src/request_forms/tutorial001_an_py310.py hl[9] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 2.9K bytes
    - Click Count (0)
  7. docs/ja/docs/tutorial/body-fields.md

    まず、以下のようにインポートします:
    
    {* ../../docs_src/body_fields/tutorial001_an_py310.py hl[4] *}
    
    
    /// warning | 注意
    
    `Field`は他の全てのもの(`Query`、`Path`、`Body`など)とは違い、`fastapi`からではなく、`pydantic`から直接インポートされていることに注意してください。
    
    ///
    
    ## モデルの属性の宣言 { #declare-model-attributes }
    
    以下のように`Field`をモデルの属性として使用することができます:
    
    {* ../../docs_src/body_fields/tutorial001_an_py310.py hl[11:14] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Feb 04 16:44:21 GMT 2026
    - 3K bytes
    - Click Count (0)
  8. tests/test_tutorial/test_authentication_error_status_code/test_tutorial001.py

    import importlib
    
    import pytest
    from fastapi.testclient import TestClient
    from inline_snapshot import snapshot
    
    
    @pytest.fixture(
        name="client",
        params=[
            "tutorial001_an_py310",
        ],
    )
    def get_client(request: pytest.FixtureRequest):
        mod = importlib.import_module(
            f"docs_src.authentication_error_status_code.{request.param}"
        )
    
        client = TestClient(mod.app)
        return client
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 1.9K bytes
    - Click Count (0)
  9. docs/pt/docs/advanced/advanced-dependencies.md

    Veja como poderia ser:
    
    {* ../../docs_src/dependencies/tutorial013_an_py310.py *}
    
    O código de saída, o fechamento automático da `Session` em:
    
    {* ../../docs_src/dependencies/tutorial013_an_py310.py ln[19:21] *}
    
    ...seria executado depois que a resposta terminar de enviar os dados lentos:
    
    {* ../../docs_src/dependencies/tutorial013_an_py310.py ln[30:38] hl[31:33] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 9.9K bytes
    - Click Count (0)
  10. docs/zh-hant/docs/tutorial/security/first-steps.md

    但不必通讀整份冗長規格只為了找出你需要的幾個重點。
    
    就用 FastAPI 提供的工具處理安全性。
    
    ## 看起來如何 { #how-it-looks }
    
    先直接跑範例看效果,再回頭理解其原理。
    
    ## 建立 `main.py` { #create-main-py }
    
    將範例複製到檔案 `main.py`:
    
    {* ../../docs_src/security/tutorial001_an_py310.py *}
    
    ## 執行 { #run-it }
    
    /// info
    
    當你使用 `pip install "fastapi[standard]"` 指令安裝時,[`python-multipart`](https://github.com/Kludex/python-multipart) 套件會隨 FastAPI 自動安裝。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 7.2K bytes
    - Click Count (0)
Back to Top