Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 211 - 220 of 358 for models (0.06 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. docs/es/docs/python-types.md

    Puedes usar, por ejemplo:
    
    * `int`
    * `float`
    * `bool`
    * `bytes`
    
    {* ../../docs_src/python_types/tutorial005_py310.py hl[1] *}
    
    ### Módulo `typing` { #typing-module }
    
    Para algunos casos adicionales, podrías necesitar importar algunas cosas del módulo `typing` de la standard library, por ejemplo cuando quieres declarar que algo tiene "cualquier tipo", puedes usar `Any` de `typing`:
    
    ```python
    from typing import Any
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 11.6K bytes
    - Click Count (1)
  2. docs/pt/docs/python-types.md

    Você pode usar, por exemplo:
    
    * `int`
    * `float`
    * `bool`
    * `bytes`
    
    {* ../../docs_src/python_types/tutorial005_py310.py hl[1] *}
    
    ### Módulo `typing` { #typing-module }
    
    Para alguns casos adicionais, você pode precisar importar alguns itens do módulo padrão `typing`, por exemplo, quando quiser declarar que algo pode ter "qualquer tipo", você pode usar `Any` de `typing`:
    
    ```python
    from typing import Any
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 11.7K bytes
    - Click Count (0)
  3. docs/fr/docs/python-types.md

    * `int`
    * `float`
    * `bool`
    * `bytes`
    
    {* ../../docs_src/python_types/tutorial005_py310.py hl[1] *}
    
    ### Module `typing` { #typing-module }
    
    Pour certains cas d'utilisation supplémentaires, vous pourriez avoir besoin d'importer certains éléments depuis le module standard `typing`, par exemple lorsque vous voulez déclarer que quelque chose a « n'importe quel type », vous pouvez utiliser `Any` depuis `typing` :
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 12.7K bytes
    - Click Count (0)
  4. docs/ko/docs/tutorial/security/simple-oauth2.md

        full_name = user_dict["full_name"],
        disabled = user_dict["disabled"],
        hashed_password = user_dict["hashed_password"],
    )
    ```
    
    /// info | 정보
    
    `**user_dict`에 대한 자세한 설명은 [**추가 모델** 문서](../extra-models.md#about-user-in-dict)를 다시 확인해보세요.
    
    ///
    
    ## 토큰 반환하기 { #return-the-token }
    
    `token` 엔드포인트의 응답은 JSON 객체여야 합니다.
    
    `token_type`이 있어야 합니다. 여기서는 "Bearer" 토큰을 사용하므로 토큰 유형은 "`bearer`"여야 합니다.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 11.1K bytes
    - Click Count (0)
  5. docs/ja/docs/tutorial/security/simple-oauth2.md

        full_name = user_dict["full_name"],
        disabled = user_dict["disabled"],
        hashed_password = user_dict["hashed_password"],
    )
    ```
    
    /// info | 情報
    
    `**user_dict` のより完全な解説は、[**追加モデル**のドキュメント](../extra-models.md#about-user-in-dict)を参照してください。
    
    ///
    
    ## トークンを返す { #return-the-token }
    
    `token` エンドポイントのレスポンスは JSON オブジェクトでなければなりません。
    
    `token_type` を含める必要があります。ここでは「Bearer」トークンを使うので、トークンタイプは「`bearer`」です。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 12.1K bytes
    - Click Count (0)
  6. docs/ko/docs/python-types.md

    그리고 다시, 에디터의 모든 지원을 받을 수 있습니다:
    
    <img src="/img/python-types/image06.png">
    
    이는 "`one_person`은 `Person` 클래스의 **인스턴스**"라는 뜻입니다.
    
    "`one_person`은 `Person`이라는 **클래스**다"라는 뜻이 아닙니다.
    
    ## Pydantic 모델 { #pydantic-models }
    
    [Pydantic](https://docs.pydantic.dev/)은 데이터 검증을 수행하는 파이썬 라이브러리입니다.
    
    속성을 가진 클래스 형태로 데이터의 "모양(shape)"을 선언합니다.
    
    그리고 각 속성은 타입을 가집니다.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 13K bytes
    - Click Count (0)
  7. fastapi/dependencies/utils.py

            fields_to_extract = get_cached_model_fields(first_field.field_info.annotation)
            single_not_embedded_field = True
            # If headers are in a Pydantic model, the way to disable convert_underscores
            # would be with Header(convert_underscores=False) at the Pydantic model level
            default_convert_underscores = getattr(
                first_field.field_info, "convert_underscores", True
            )
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 15 11:44:39 GMT 2026
    - 38.7K bytes
    - Click Count (3)
  8. docs/es/docs/tutorial/response-model.md

    Cuando veas la documentación automática, puedes verificar que el modelo de entrada y el modelo de salida tendrán cada uno su propio JSON Schema:
    
    <img src="/img/tutorial/response-model/image01.png">
    
    Y ambos modelos se utilizarán para la documentación interactiva de la API:
    
    <img src="/img/tutorial/response-model/image02.png">
    
    ## Otras Anotaciones de Tipos de Retorno { #other-return-type-annotations }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 17.1K bytes
    - Click Count (0)
  9. docs/fr/docs/tutorial/response-model.md

    ///
    
    ## Ajouter un modèle de sortie { #add-an-output-model }
    
    Nous pouvons à la place créer un modèle d'entrée avec le mot de passe en clair et un modèle de sortie sans celui-ci :
    
    {* ../../docs_src/response_model/tutorial003_py310.py hl[9,11,16] *}
    
    Ici, même si notre *fonction de chemin d'accès* renvoie le même utilisateur d'entrée qui contient le mot de passe :
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 18.1K bytes
    - Click Count (0)
  10. fastapi/param_functions.py

    from typing import Annotated, Any, Literal
    
    from annotated_doc import Doc
    from fastapi import params
    from fastapi._compat import Undefined
    from fastapi.datastructures import _Unset
    from fastapi.openapi.models import Example
    from pydantic import AliasChoices, AliasPath
    from typing_extensions import deprecated
    
    
    def Path(  # noqa: N802
        default: Annotated[
            Any,
            Doc(
                """
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 15 11:44:39 GMT 2026
    - 68K bytes
    - Click Count (0)
Back to Top