Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 277 for modelos (0.07 sec)

  1. tests/test_filter_pydantic_sub_model/app_pv1.py

            return name
    
    
    async def get_model_c() -> ModelC:
        return ModelC(username="test-user", password="test-password")
    
    
    @app.get("/model/{name}", response_model=ModelA)
    async def get_model_a(name: str, model_c=Depends(get_model_c)):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 784 bytes
    - Viewed (0)
  2. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelBuildingResult.java

         * undergone any updates by the model builder, e.g. reflects neither inheritance nor interpolation.
         *
         * @return The raw model, never {@code null}.
         */
        Model getRawModel();
    
        /**
         * Gets the specified raw model as it was read from a model source. Apart from basic validation, a raw model has not
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  3. docs_src/sql_databases_peewee/sql_app/models.py

    import peewee
    
    from .database import db
    
    
    class User(peewee.Model):
        email = peewee.CharField(unique=True, index=True)
        hashed_password = peewee.CharField()
        is_active = peewee.BooleanField(default=True)
    
        class Meta:
            database = db
    
    
    class Item(peewee.Model):
        title = peewee.CharField(index=True)
        description = peewee.CharField(index=True)
        owner = peewee.ForeignKeyField(User, backref="items")
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Mar 26 19:09:53 UTC 2020
    - 465 bytes
    - Viewed (0)
  4. models.BUILD

    Andrew Harp <******@****.***> 1484086825 -0800
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Tue Jan 10 22:25:53 UTC 2017
    - 328 bytes
    - Viewed (0)
  5. docs/de/docs/tutorial/body.md

    Es verbessert die Editor-Unterstützung für Pydantic-Modelle, mit:
    
    * Code-Vervollständigung
    * Typüberprüfungen
    * Refaktorisierung
    * Suchen
    * Inspektionen
    
    ///
    
    ## Das Modell verwenden
    
    Innerhalb der Funktion können Sie alle Attribute des Modells direkt verwenden:
    
    //// tab | Python 3.10+
    
    ```Python hl_lines="19"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 8K bytes
    - Viewed (0)
  6. docs/em/docs/tutorial/body-nested-models.md

    ```Python hl_lines="13"
    {!> ../../docs_src/body_nested_models/tutorial008_py39.py!}
    ```
    
    ////
    
    ## 👨‍🎨 🐕‍🦺 🌐
    
    &amp; 👆 🤚 👨‍🎨 🐕‍🦺 🌐.
    
    🏬 🔘 📇:
    
    <img src="/img/tutorial/body-nested-models/image01.png">
    
    👆 🚫 🚫 🤚 👉 😇 👨‍🎨 🐕‍🦺 🚥 👆 👷 🔗 ⏮️ `dict` ↩️ Pydantic 🏷.
    
    ✋️ 👆 🚫 ✔️ 😟 🔃 👫 👯‍♂️, 📨 #️⃣ 🗜 🔁 &amp; 👆 🔢 🗜 🔁 🎻 💁‍♂️.
    
    ## 💪 ❌ `dict`Ⓜ
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  7. docs/ru/docs/tutorial/body-nested-models.md

    ```
    
    ////
    
    ## Универсальная поддержка редактора
    
    И вы получаете поддержку редактора везде.
    
    Даже для элементов внутри списков:
    
    <img src="/img/tutorial/body-nested-models/image01.png">
    
    Вы не могли бы получить такую поддержку редактора, если бы работали напрямую с `dict`, а не с моделями Pydantic.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  8. docs/ko/docs/tutorial/body-nested-models.md

    ```Python hl_lines="15"
    {!../../docs_src/body_nested_models/tutorial008.py!}
    ```
    
    ## 어디서나 편집기 지원
    
    그리고 어디서나 편집기 지원을 받을수 있습니다.
    
    리스트 내부 항목의 경우에도:
    
    <img src="/img/tutorial/body-nested-models/image01.png">
    
    Pydantic 모델 대신에 `dict`를 직접 사용하여 작업할 경우, 이러한 편집기 지원을 받을수 없습니다.
    
    하지만 수신한 딕셔너리가 자동으로 변환되고 출력도 자동으로 JSON으로 변환되므로 걱정할 필요는 없습니다.
    
    ## 단독 `dict`의 본문
    
    일부 타입의 키와 다른 타입의 값을 사용하여 `dict`로 본문을 선언할 수 있습니다.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  9. docs/zh/docs/tutorial/body-nested-models.md

    ```Python hl_lines="15"
    {!> ../../docs_src/body_nested_models/tutorial008.py!}
    ```
    
    ////
    
    ## 无处不在的编辑器支持
    
    你可以随处获得编辑器支持。
    
    即使是列表中的元素:
    
    <img src="https://fastapi.tiangolo.com/img/tutorial/body-nested-models/image01.png">
    
    如果你直接使用 `dict` 而不是 Pydantic 模型,那你将无法获得这种编辑器支持。
    
    但是你根本不必担心这两者,传入的字典会自动被转换,你的输出也会自动被转换为 JSON。
    
    ## 任意 `dict` 构成的请求体
    
    你也可以将请求体声明为使用某类型的键和其他类型值的 `dict`。
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  10. fastapi/dependencies/models.py

    Sebastián Ramírez <******@****.***> 1725135570 +0200
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Aug 31 20:19:30 UTC 2024
    - 1.5K bytes
    - Viewed (0)
Back to top