Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for Huslage (0.22 sec)

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

    ## Andere asynchrone Funktionsaufrufe
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 20:25:57 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  2. docs/zh/docs/advanced/openapi-callbacks.md

    这部分代码很常规,您对绝大多数代码应该都比较熟悉了:
    
    ```Python hl_lines="10-14  37-54"
    {!../../../docs_src/openapi_callbacks/tutorial001.py!}
    ```
    
    !!! tip "提示"
    
        `callback_url` 查询参数使用 Pydantic 的 <a href="https://pydantic-docs.helpmanual.io/usage/types/#urls" class="external-link" target="_blank">URL</a> 类型。
    
    此处唯一比较新的内容是*路径操作装饰器*中的 `callbacks=invoices_callback_router.routes` 参数,下文介绍。
    
    ## 存档回调
    
    实际的回调代码高度依赖于您自己的 API 应用。
    
    并且可能每个应用都各不相同。
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 22:46:28 GMT 2024
    - 6.6K bytes
    - Viewed (0)
  3. docs/zh/docs/advanced/dataclasses.md

    ```Python hl_lines="1  7-12  19-20"
    {!../../../docs_src/dataclasses/tutorial001.py!}
    ```
    
    这还是借助于 **Pydantic** 及其<a href="https://pydantic-docs.helpmanual.io/usage/dataclasses/#use-of-stdlib-dataclasses-with-basemodel" class="external-link" target="_blank">内置的 `dataclasses`</a>。
    
    因此,即便上述代码没有显式使用 Pydantic,FastAPI 仍会使用 Pydantic 把标准数据类转换为 Pydantic 数据类(`dataclasses`)。
    
    并且,它仍然支持以下功能:
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 22:44:14 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  4. docs/en/docs/advanced/async-tests.md

    !!! warning
        If your application relies on lifespan events, the `AsyncClient` won't trigger these events. To ensure they are triggered, use `LifespanManager` from <a href="https://github.com/florimondmanca/asgi-lifespan#usage" class="external-link" target="_blank">florimondmanca/asgi-lifespan</a>.
    
    ## Other Asynchronous Function Calls
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Jan 13 12:07:15 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/extra-data-types.md

    * `Decimal`:
        * Standard Python `Decimal`.
        * In requests and responses, handled the same as a `float`.
    * You can check all the valid pydantic data types here: <a href="https://docs.pydantic.dev/latest/usage/types/types/" class="external-link" target="_blank">Pydantic data types</a>.
    
    ## Example
    
    Here's an example *path operation* with parameters using some of the above types.
    
    === "Python 3.10+"
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  6. docs/en/docs/how-to/configure-swagger-ui.md

    # Configure Swagger UI
    
    You can configure some extra <a href="https://swagger.io/docs/open-source-tools/swagger-ui/usage/configuration" class="external-link" target="_blank">Swagger UI parameters</a>.
    
    To configure them, pass the `swagger_ui_parameters` argument when creating the `FastAPI()` app object or to the `get_swagger_ui_html()` function.
    
    `swagger_ui_parameters` receives a dictionary with the configurations passed to Swagger UI directly.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  7. fastapi/security/api_key.py

        the key value sent in the query parameter automatically and provides it as the
        dependency result. But it doesn't define how to send that API key to the client.
    
        ## Usage
    
        Create an instance object and use that object as the dependency in `Depends()`.
    
        The dependency result will be a string containing the key value.
    
        ## Example
    
        ```python
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Apr 23 22:29:18 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  8. docs/de/docs/tutorial/extra-data-types.md

        * Wird in Requests und Responses als `float` der Gesamtsekunden dargestellt.
        * Pydantic ermöglicht auch die Darstellung als „ISO 8601 Zeitdifferenz-Kodierung“, <a href="https://docs.pydantic.dev/1.10/usage/exporting_models/#json_encoders" class="external-link" target="_blank">Weitere Informationen finden Sie in der Dokumentation</a>.
    * `frozenset`:
        * Wird in Requests und Responses wie ein `set` behandelt:
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 18:08:55 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  9. docs/zh/docs/deployment/deta.md

    在新的 Terminal 里,用以下命令确认 CLI 是否正确安装:
    
    <div class="termy">
    
    ```console
    $ deta --help
    
    Deta command line interface for managing deta micros.
    Complete documentation available at https://docs.deta.sh
    
    Usage:
      deta [flags]
      deta [command]
    
    Available Commands:
      auth        Change auth settings for a deta micro
    
    ...
    ```
    
    </div>
    
    !!! tip "提示"
    
    Plain Text
    - Registered: Sun Mar 31 07:19:09 GMT 2024
    - Last Modified: Sun Jan 28 18:06:55 GMT 2024
    - 5.1K bytes
    - Viewed (0)
  10. docs/en/docs/tutorial/header-params.md

        ```Python hl_lines="10"
        {!> ../../../docs_src/header_params/tutorial002.py!}
        ```
    
    !!! warning
        Before setting `convert_underscores` to `False`, bear in mind that some HTTP proxies and servers disallow the usage of headers with underscores.
    
    ## Duplicate headers
    
    It is possible to receive duplicate headers. That means, the same header with multiple values.
    
    You can define those cases using a list in the type declaration.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Oct 17 05:59:11 GMT 2023
    - 5.8K bytes
    - Viewed (0)
Back to top