Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 388 for Nested (0.05 sec)

  1. docs/de/docs/tutorial/body-nested-models.md

    ```
    
    ////
    
    ## Editor-Unterstützung überall
    
    Und Sie erhalten Editor-Unterstützung überall.
    
    Selbst für Dinge in Listen:
    
    <img src="/img/tutorial/body-nested-models/image01.png">
    
    Sie würden diese Editor-Unterstützung nicht erhalten, wenn Sie direkt mit `dict`, statt mit Pydantic-Modellen arbeiten würden.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  2. docs/ja/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">
    
    Pydanticモデルではなく、`dict`を直接使用している場合はこのようなエディタのサポートは得られません。
    
    しかし、それらについて心配する必要はありません。入力された辞書は自動的に変換され、出力も自動的にJSONに変換されます。
    
    ## 任意の`dict`のボディ
    
    また、ある型のキーと別の型の値を持つ`dict`としてボディを宣言することもできます。
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  3. docs/pt/docs/tutorial/body-nested-models.md

    ```
    
    ## Suporte de editor em todo canto
    
    E você obtém suporte do editor em todos os lugares.
    
    Mesmo para itens dentro de listas:
    
    <img src="/img/tutorial/body-nested-models/image01.png">
    
    Você não conseguiria este tipo de suporte de editor se estivesse trabalhando diretamente com `dict` em vez de modelos Pydantic.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  4. 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)
  5. docs/en/docs/tutorial/body-nested-models.md

    And it will be annotated / documented accordingly too.
    
    ## Nested Models
    
    Each attribute of a Pydantic model has a type.
    
    But that type can itself be another Pydantic model.
    
    So, you can declare deeply nested JSON "objects" with specific attribute names, types and validations.
    
    All that, arbitrarily nested.
    
    ### Define a submodel
    
    For example, we can define an `Image` model:
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  6. 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)
  7. 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`의 본문
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  8. 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)
  9. tests/preload_test.go

    	}
    
    	var find1 Value
    	err := DB.Joins("Nested").Joins("Nested.Join").Preload("Nested.Preloads").First(&find1, value1.ID).Error
    	if err != nil {
    		t.Errorf("failed to find value, got err: %v", err)
    	}
    	AssertEqual(t, find1, value1)
    
    	var find2 Value
    	// Joins will automatically add Nested queries.
    	err = DB.Joins("Nested.Join").Preload("Nested.Preloads").First(&find2, value2.ID).Error
    	if err != nil {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Jun 12 10:00:47 UTC 2024
    - 15.9K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/util/concurrent/SettableFutureTest.java

    public class SettableFutureTest extends TestCase {
    
      private SettableFuture<String> future;
      private ListenableFutureTester tester;
    
      @Override
      protected void setUp() throws Exception {
        super.setUp();
    
        future = SettableFuture.create();
        tester = new ListenableFutureTester(future);
        tester.setUp();
      }
    
      public void testDefaultState() throws Exception {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 7.3K bytes
    - Viewed (0)
Back to top