Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1191 - 1200 of 2,110 for py$ (0.22 seconds)

  1. docs/ja/docs/advanced/async-tests.md

    ```
    .
    ├── app
    │   ├── __init__.py
    │   ├── main.py
    │   └── test_main.py
    ```
    
    `main.py` は次のようになります:
    
    {* ../../docs_src/async_tests/app_a_py310/main.py *}
    
    `test_main.py` は `main.py` のテストを持ち、次のようになります:
    
    {* ../../docs_src/async_tests/app_a_py310/test_main.py *}
    
    ## 実行 { #run-it }
    
    テストはいつも通り次で実行できます:
    
    <div class="termy">
    
    ```console
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 4.5K bytes
    - Click Count (0)
  2. docs/pt/docs/deployment/manually.md

    ```console
    $ <font color="#4E9A06">fastapi</font> run <u style="text-decoration-style:solid">main.py</u>
    
      <span style="background-color:#009485"><font color="#D3D7CF"> FastAPI </font></span>  Starting production server 🚀
    
                 Searching for package file structure from directories
                 with <font color="#3465A4">__init__.py</font> files
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 7.1K bytes
    - Click Count (0)
  3. .editorconfig

    max_line_length = 140
    ij_java_class_count_to_use_import_on_demand = 999
    ij_java_names_count_to_use_import_on_demand = 999
    ij_java_imports_layout = *,|,com.**,|,org.**,|,java.**,javax.**,|,$*
    
    [*.json]
    indent_size = 2
    
    [*.py]
    indent_size = 2
    
    [*.sh]
    indent_size = 2
    
    [*.{yml,yaml}]
    indent_size = 2
    
    [*.{xsd,xml}]
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Aug 10 14:05:55 GMT 2021
    - 9K bytes
    - Click Count (0)
  4. docs/zh-hant/docs/tutorial/index.md

    要運行任何範例,請將程式碼複製到 `main.py` 檔案,並使用以下命令啟動 `fastapi dev`:
    
    <div class="termy">
    
    ```console
    $ <font color="#4E9A06">fastapi</font> dev
    
      <span style="background-color:#009485"><font color="#D3D7CF"> FastAPI </font></span>  Starting development server 🚀
    
                 Searching for package file structure from directories
                 with <font color="#3465A4">__init__.py</font> files
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 5.2K bytes
    - Click Count (0)
  5. docs/en/docs/advanced/openapi-webhooks.md

    {* ../../docs_src/openapi_webhooks/tutorial001_py310.py hl[9:12,15:20] *}
    
    The webhooks that you define will end up in the **OpenAPI** schema and the automatic **docs UI**.
    
    /// info
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 2.9K bytes
    - Click Count (0)
  6. docs/ja/docs/tutorial/security/oauth2-jwt.md

    新しいアクセストークンを生成するユーティリティ関数を作成します。
    
    {* ../../docs_src/security/tutorial004_an_py310.py hl[4,7,13:15,29:31,82:90] *}
    
    ## 依存関係の更新 { #update-the-dependencies }
    
    `get_current_user`を更新して、先ほどと同じトークンを受け取るようにしますが、今回はJWTトークンを使用します。
    
    受け取ったトークンをデコードして検証し、現在のユーザーを返します。
    
    トークンが無効な場合は、すぐにHTTPエラーを返します。
    
    {* ../../docs_src/security/tutorial004_an_py310.py hl[93:110] *}
    
    ## `/token` *path operation* の更新 { #update-the-token-path-operation }
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 14.6K bytes
    - Click Count (1)
  7. docs/zh/docs/how-to/conditional-openapi.md

    ## 基于设置和环境变量的条件式 OpenAPI { #conditional-openapi-from-settings-and-env-vars }
    
    你可以很容易地使用相同的 Pydantic 设置来配置生成的 OpenAPI 和文档 UI。
    
    例如:
    
    {* ../../docs_src/conditional_openapi/tutorial001_py310.py hl[6,11] *}
    
    这里我们声明了设置项 `openapi_url`,其默认值同样是 `"/openapi.json"`。
    
    然后在创建 `FastAPI` 应用时使用它。
    
    接着,你可以通过把环境变量 `OPENAPI_URL` 设为空字符串来禁用 OpenAPI(包括文档 UI),例如:
    
    <div class="termy">
    
    ```console
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 2.2K bytes
    - Click Count (0)
  8. docs/tr/docs/deployment/manually.md

    ```console
    $ <font color="#4E9A06">fastapi</font> run <u style="text-decoration-style:solid">main.py</u>
    
      <span style="background-color:#009485"><font color="#D3D7CF"> FastAPI </font></span>  Starting production server 🚀
    
                 Searching for package file structure from directories
                 with <font color="#3465A4">__init__.py</font> files
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 7.1K bytes
    - Click Count (0)
  9. docs/ja/docs/tutorial/index.md

    いずれかの例を実行するには、コードを `main.py`ファイルにコピーし、次のように `fastapi dev` を起動します:
    
    <div class="termy">
    
    ```console
    $ <font color="#4E9A06">fastapi</font> dev
    
      <span style="background-color:#009485"><font color="#D3D7CF"> FastAPI </font></span>  Starting development server 🚀
    
                 Searching for package file structure from directories
                 with <font color="#3465A4">__init__.py</font> files
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 6.2K bytes
    - Click Count (0)
  10. docs/en/docs/advanced/strict-content-type.md

    If you need to support clients that don't send a `Content-Type` header, you can disable strict checking by setting `strict_content_type=False`:
    
    {* ../../docs_src/strict_content_type/tutorial001_py310.py hl[4] *}
    
    With this setting, requests without a `Content-Type` header will have their body parsed as JSON, which is the same behavior as older versions of FastAPI.
    
    /// info
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Mon Feb 23 17:45:20 GMT 2026
    - 3.2K bytes
    - Click Count (0)
Back to Top