Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 563 for tip (0.02 sec)

  1. docs/zh/docs/advanced/settings.md

    这种做法相当常见,有一个名称,这些环境变量通常放在一个名为 `.env` 的文件中,该文件被称为“dotenv”。
    
    /// tip
    
    以点 (`.`) 开头的文件是 Unix-like 系统(如 Linux 和 macOS)中的隐藏文件。
    
    但是,dotenv 文件实际上不一定要具有确切的文件名。
    
    ///
    
    Pydantic 支持使用外部库从这些类型的文件中读取。您可以在<a href="https://docs.pydantic.dev/latest/concepts/pydantic_settings/#dotenv-env-support" class="external-link" target="_blank">Pydantic 设置: Dotenv (.env) 支持</a>中阅读更多相关信息。
    
    /// tip
    
    要使其工作,您需要执行 `pip install python-dotenv`。
    
    ///
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  2. docs/en/docs/virtual-environments.md

    /// tip
    
    You would normally do this **once**, right after you create the virtual environment.
    
    ///
    
    Make sure the virtual environment is active (with the command above) and then run:
    
    <div class="termy">
    
    ```console
    $ python -m pip install --upgrade pip
    
    ---> 100%
    ```
    
    </div>
    
    /// tip
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 02 05:09:25 UTC 2025
    - 22.8K bytes
    - Viewed (0)
  3. docs/de/docs/advanced/openapi-callbacks.md

    Dieser Teil ist ziemlich normal, der größte Teil des Codes ist Ihnen wahrscheinlich bereits bekannt:
    
    {* ../../docs_src/openapi_callbacks/tutorial001_py310.py hl[7:11,34:51] *}
    
    /// tip | Tipp
    
    Der Query-Parameter `callback_url` verwendet einen Pydantic-<a href="https://docs.pydantic.dev/latest/api/networks/" class="external-link" target="_blank">Url</a>-Typ.
    
    ///
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 10 13:54:34 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  4. docs/en/docs/advanced/async-tests.md

    </div>
    
    ## In Detail { #in-detail }
    
    The marker `@pytest.mark.anyio` tells pytest that this test function should be called asynchronously:
    
    {* ../../docs_src/async_tests/app_a_py39/test_main.py hl[7] *}
    
    /// tip
    
    Note that the test function is now `async def` instead of just `def` as before when using the `TestClient`.
    
    ///
    
    Then we can create an `AsyncClient` with the app, and send async requests to it, using `await`.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 4K bytes
    - Viewed (0)
  5. docs/zh/docs/advanced/openapi-callbacks.md

    {
        "ok": true
    }
    ```
    
    /// tip | 提示
    
    注意,回调 URL包含 `callback_url` (`https://www.external.org/events`)中的查询参数,还有 JSON 请求体内部的发票 ID(`2expen51ve`)。
    
    ///
    
    ### 添加回调路由
    
    至此,在上文创建的回调路由里就包含了*回调路径操作*(外部开发者要在外部 API 中实现)。
    
    现在使用 API *路径操作装饰器*的参数 `callbacks`,从回调路由传递属性 `.routes`(实际上只是路由/路径操作的**列表**):
    
    {* ../../docs_src/openapi_callbacks/tutorial001.py hl[36] *}
    
    /// tip | 提示
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  6. docs/ja/llm-prompt.md

    - path operation: パスオペレーション
    - path operation function: パスオペレーション関数
    
    ### `///` admonitions
    
    1) Keep the admonition keyword in English (do not translate `note`, `tip`, etc.).
    2) If a title is present, prefer these canonical titles:
    
    - `/// note | 備考`
    - `/// note | 技術詳細`
    - `/// tip | 豆知識`
    - `/// warning | 注意`
    - `/// info | 情報`
    - `/// check | 確認`
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 20 17:30:52 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  7. docs/ko/llm-prompt.md

    - path operation: 경로 처리
    - path operation function: 경로 처리 함수
    
    ### `///` admonitions
    
    1) Keep the admonition keyword in English (do not translate `note`, `tip`, etc.).
    2) If a title is present, prefer these canonical titles:
    
    - `/// note | 참고`
    - `/// tip | 팁`
    - `/// warning | 경고`
    - `/// info | 정보`
    - `/// danger | 위험`
    - `/// note Technical Details | 기술 세부사항`
    - `/// check | 확인`
    Notes:
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 20 17:32:05 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  8. docs/es/docs/advanced/settings.md

    Por esta razón, es común proporcionarlas en variables de entorno que son leídas por la aplicación.
    
    /// tip | Consejo
    
    Para entender las variables de entorno, puedes leer [Variables de Entorno](../environment-variables.md){.internal-link target=_blank}.
    
    ///
    
    ## Tipos y validación { #types-and-validation }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  9. docs/de/docs/advanced/async-tests.md

    </div>
    
    ## Im Detail { #in-detail }
    
    Der Marker `@pytest.mark.anyio` teilt pytest mit, dass diese Testfunktion asynchron aufgerufen werden soll:
    
    {* ../../docs_src/async_tests/app_a_py39/test_main.py hl[7] *}
    
    /// tip | Tipp
    
    Beachten Sie, dass die Testfunktion jetzt `async def` ist und nicht nur `def` wie zuvor, wenn Sie den `TestClient` verwenden.
    
    ///
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 4.5K bytes
    - Viewed (1)
  10. docs/pt/docs/advanced/async-tests.md

    ## Em Detalhes { #in-detail }
    
    O marcador `@pytest.mark.anyio` informa ao pytest que esta função de teste deve ser invocada de maneira assíncrona:
    
    {* ../../docs_src/async_tests/app_a_py39/test_main.py hl[7] *}
    
    /// tip | Dica
    
    Note que a função de teste é `async def` agora, no lugar de apenas `def` como quando estávamos utilizando o `TestClient` anteriormente.
    
    ///
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 4.5K bytes
    - Viewed (0)
Back to top