Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 178 for Nested (0.06 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. src/cmd/asm/internal/lex/lex_test.go

    			"C",
    		),
    		"C.\n",
    	},
    	{
    		"nested #define",
    		lines(
    			"#define A #define B THIS",
    			"A",
    			"B",
    		),
    		"THIS.\n",
    	},
    	{
    		"nested #define with args",
    		lines(
    			"#define A #define B(x) x",
    			"A",
    			"B(THIS)",
    		),
    		"THIS.\n",
    	},
    	/* This one fails. See comment in Slice.Col.
    	{
    		"nested #define with args",
    		lines(
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Aug 29 07:48:38 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  9. android/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)
  10. utils/utils.go

    		return strconv.FormatUint(v, 10)
    	}
    	return ""
    }
    
    const nestedRelationSplit = "__"
    
    // NestedRelationName nested relationships like `Manager__Company`
    func NestedRelationName(prefix, name string) string {
    	return prefix + nestedRelationSplit + name
    }
    
    // SplitNestedRelationName Split nested relationships to `[]string{"Manager","Company"}`
    func SplitNestedRelationName(name string) []string {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Aug 22 11:03:42 UTC 2024
    - 4.1K bytes
    - Viewed (0)
Back to top