Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for Hsing (0.01 sec)

  1. docs/en/docs/advanced/dataclasses.md

    # Using Dataclasses { #using-dataclasses }
    
    FastAPI is built on top of **Pydantic**, and I have been showing you how to use Pydantic models to declare requests and responses.
    
    But FastAPI also supports using <a href="https://docs.python.org/3/library/dataclasses.html" class="external-link" target="_blank">`dataclasses`</a> the same way:
    
    {* ../../docs_src/dataclasses_/tutorial001_py310.py hl[1,6:11,18:19] *}
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  2. docs/zh-hant/llm-prompt.md

    Translate to Traditional Chinese (繁體中文).
    
    Language code: zh-hant.
    
    ### Grammar and tone
    
    1) Use clear, concise technical Traditional Chinese consistent with existing docs.
    2) Address the reader naturally (commonly using “你/你的”).
    
    ### Headings
    
    1) Follow existing Traditional Chinese heading style (short and descriptive).
    2) Do not add trailing punctuation to headings.
    
    ### Quotes and punctuation
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:49:46 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  3. docs/de/docs/tutorial/body-updates.md

    Aber dieser Leitfaden zeigt Ihnen mehr oder weniger, wie die beiden normalerweise verwendet werden.
    
    ///
    
    ### Pydantics `exclude_unset`-Parameter verwenden { #using-pydantics-exclude-unset-parameter }
    
    Wenn Sie Teil-Aktualisierungen entgegennehmen, ist der `exclude_unset`-Parameter in der `.model_dump()`-Methode von Pydantic-Modellen sehr nützlich.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 24 10:28:19 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  4. docs/zh/llm-prompt.md

    ### Target language
    
    Translate to Simplified Chinese (简体中文).
    
    Language code: zh.
    
    ### Grammar and tone
    
    1) Use clear, concise technical Chinese consistent with existing docs.
    2) Address the reader naturally (commonly using “你/你的”).
    
    ### Headings
    
    1) Follow existing Simplified Chinese heading style (short and descriptive).
    2) Do not add trailing punctuation to headings.
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:49:08 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  5. fastapi/param_functions.py

                use case for this.
    
                Read more about it in the
                [FastAPI docs for Declare Request Example Data](https://fastapi.tiangolo.com/tutorial/schema-extra-example/#using-the-openapi_examples-parameter).
                """
            ),
        ] = None,
        deprecated: Annotated[
            Union[deprecated, str, bool, None],
            Doc(
                """
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 63K bytes
    - Viewed (0)
  6. fastapi/routing.py

                    """
                ),
            ] = None,
            dependencies: Annotated[
                Optional[Sequence[params.Depends]],
                Doc(
                    """
                    A list of dependencies (using `Depends()`) to be applied to all the
                    *path operations* in this router.
    
                    Read more about it in the
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 174.6K bytes
    - Viewed (0)
  7. fastapi/utils.py

        return set(re.findall("{(.*?)}", path))
    
    
    _invalid_args_message = (
        "Invalid args for response field! Hint: "
        "check that {type_} is a valid Pydantic field type. "
        "If you are using a return type annotation that is not a valid Pydantic "
        "field (e.g. Union[Response, dict, None]) you can disable generating the "
        "response model from the type annotation with the path operation decorator "
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  8. fastapi/openapi/models.py

        operationId: Optional[str] = None
        parameters: Optional[list[Union[Parameter, Reference]]] = None
        requestBody: Optional[Union[RequestBody, Reference]] = None
        # Using Any for Specification Extensions
        responses: Optional[dict[str, Union[Response, Any]]] = None
        callbacks: Optional[dict[str, Union[dict[str, "PathItem"], Reference]]] = None
        deprecated: Optional[bool] = None
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  9. docs/de/docs/advanced/dataclasses.md

    # Verwendung von Datenklassen { #using-dataclasses }
    
    FastAPI basiert auf **Pydantic**, und ich habe Ihnen gezeigt, wie Sie Pydantic-Modelle verwenden können, um <abbr title="Request – Anfrage: Daten, die der Client zum Server sendet">Requests</abbr> und <abbr title="Response – Antwort: Daten, die der Server zum anfragenden Client zurücksendet">Responses</abbr> zu deklarieren.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 5K bytes
    - Viewed (0)
  10. docs/pt/docs/advanced/dataclasses.md

    # Usando Dataclasses { #using-dataclasses }
    
    FastAPI é construído em cima do **Pydantic**, e eu tenho mostrado como usar modelos Pydantic para declarar requisições e respostas.
    
    Mas o FastAPI também suporta o uso de <a href="https://docs.python.org/3/library/dataclasses.html" class="external-link" target="_blank">`dataclasses`</a> da mesma forma:
    
    {* ../../docs_src/dataclasses_/tutorial001_py310.py hl[1,6:11,18:19] *}
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 4.5K bytes
    - Viewed (0)
Back to top