Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 251 - 260 of 377 for 22 (0.02 seconds)

  1. docs/ru/docs/how-to/migrate-from-pydantic-v1-to-pydantic-v2.md

    ```
    
    В некоторых случаях можно использовать и модели Pydantic v1, и v2 в одной и той же **операции пути** (обработчике пути) вашего приложения FastAPI:
    
    {* ../../docs_src/pydantic_v1_in_v2/tutorial003_an_py310.py hl[2:3,6,12,21:22] *}
    
    В примере выше модель входных данных — это модель Pydantic v1, а модель выходных данных (указанная в `response_model=ItemV2`) — это модель Pydantic v2.
    
    ### Параметры Pydantic v1 { #pydantic-v1-parameters }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:56:20 GMT 2026
    - 8.2K bytes
    - Click Count (0)
  2. docs/tr/docs/tutorial/extra-models.md

    Bu sayede modeller arasındaki farkları (plaintext `password` olan, `hashed_password` olan ve `password` olmayan) sadece o farklılıklar olarak tanımlayabiliriz:
    
    {* ../../docs_src/extra_models/tutorial002_py310.py hl[7,13:14,17:18,21:22] *}
    
    ## `Union` veya `anyOf` { #union-or-anyof }
    
    Bir response'u iki ya da daha fazla type'ın `Union`'ı olarak tanımlayabilirsiniz; bu, response'un bunlardan herhangi biri olabileceği anlamına gelir.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 7.4K bytes
    - Click Count (0)
  3. CHANGELOG/CHANGELOG-1.16.md

    - [v1.16.0-alpha.2](#v1160-alpha2)
      - [Downloads for v1.16.0-alpha.2](#downloads-for-v1160-alpha2)
        - [Client Binaries](#client-binaries-22)
        - [Server Binaries](#server-binaries-22)
        - [Node Binaries](#node-binaries-22)
      - [Changelog since v1.16.0-alpha.1](#changelog-since-v1160-alpha1)
        - [Action Required](#action-required-2)
        - [Other notable changes](#other-notable-changes-11)
    Created: Fri Apr 03 09:05:14 GMT 2026
    - Last Modified: Wed Oct 23 20:13:20 GMT 2024
    - 345.2K bytes
    - Click Count (0)
  4. docs/zh/docs/tutorial/response-model.md

    这里,即使我们的*路径操作函数*返回的是包含密码的同一个输入用户:
    
    {* ../../docs_src/response_model/tutorial003_py310.py hl[24] *}
    
    ……我们仍将 `response_model` 声明为不包含密码的 `UserOut` 模型:
    
    {* ../../docs_src/response_model/tutorial003_py310.py hl[22] *}
    
    因此,**FastAPI** 会负责过滤掉输出模型中未声明的所有数据(使用 Pydantic)。
    
    ### `response_model` 还是返回类型 { #response-model-or-return-type }
    
    在这个例子中,因为两个模型不同,如果我们将函数返回类型注解为 `UserOut`,编辑器和工具会抱怨我们返回了无效类型,因为它们是不同的类。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 14.5K bytes
    - Click Count (0)
  5. cmd/object-api-datatypes_gen.go

    // Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
    func (z *ListObjectsV2Info) Msgsize() (s int) {
    	s = 1 + 12 + msgp.BoolSize + 18 + msgp.StringPrefixSize + len(z.ContinuationToken) + 22 + msgp.StringPrefixSize + len(z.NextContinuationToken) + 8 + msgp.ArrayHeaderSize
    	for za0001 := range z.Objects {
    		s += z.Objects[za0001].Msgsize()
    	}
    	s += 9 + msgp.ArrayHeaderSize
    	for za0002 := range z.Prefixes {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 71.7K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/collect/ImmutableSetTest.java

              }
              return true;
            };
        TypeWithDuplicates a = new TypeWithDuplicates(1, 1);
        TypeWithDuplicates b1 = new TypeWithDuplicates(2, 1);
        TypeWithDuplicates b2 = new TypeWithDuplicates(2, 2);
        TypeWithDuplicates c = new TypeWithDuplicates(3, 1);
        CollectorTester.of(collector, equivalence)
            .expectCollects(ImmutableSet.of(a, b1, c), a, b1, c, b2);
      }
    
      @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 14.2K bytes
    - Click Count (0)
  7. docs/ru/docs/advanced/path-operation-advanced-configuration.md

    И если вы посмотрите на итоговый OpenAPI (по адресу `/openapi.json` вашего API), вы также увидите своё расширение в составе описания соответствующей *операции пути*:
    
    ```JSON hl_lines="22"
    {
        "openapi": "3.1.0",
        "info": {
            "title": "FastAPI",
            "version": "0.1.0"
        },
        "paths": {
            "/items/": {
                "get": {
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:56:20 GMT 2026
    - 10.6K bytes
    - Click Count (0)
  8. android/guava-tests/test/com/google/common/primitives/UnsignedLongsTest.java

        testSortDescending(new long[] {1, 2}, new long[] {2, 1});
        testSortDescending(new long[] {1, 3, 1}, new long[] {3, 1, 1});
        testSortDescending(
            new long[] {GREATEST - 1, 1, GREATEST - 2, 2},
            new long[] {GREATEST - 1, GREATEST - 2, 2, 1});
      }
    
      private static void testSortDescending(long[] input, long[] expectedOutput) {
        input = Arrays.copyOf(input, input.length);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 12.8K bytes
    - Click Count (0)
  9. android/guava-tests/test/com/google/common/primitives/UnsignedBytesTest.java

        testSortDescending(new byte[] {1, 2}, new byte[] {2, 1});
        testSortDescending(new byte[] {1, 3, 1}, new byte[] {3, 1, 1});
        testSortDescending(
            new byte[] {GREATEST - 1, 1, GREATEST - 2, 2},
            new byte[] {GREATEST - 1, GREATEST - 2, 2, 1});
      }
    
      private static void testSortDescending(byte[] input, byte[] expectedOutput) {
        input = Arrays.copyOf(input, input.length);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 01:43:32 GMT 2026
    - 13.6K bytes
    - Click Count (0)
  10. api/go1.5.txt

    pkg go/types, const UntypedBool = 19
    pkg go/types, const UntypedBool BasicKind
    pkg go/types, const UntypedComplex = 23
    pkg go/types, const UntypedComplex BasicKind
    pkg go/types, const UntypedFloat = 22
    pkg go/types, const UntypedFloat BasicKind
    pkg go/types, const UntypedInt = 20
    pkg go/types, const UntypedInt BasicKind
    pkg go/types, const UntypedNil = 25
    pkg go/types, const UntypedNil BasicKind
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Thu Jul 30 21:14:09 GMT 2015
    - 46.6K bytes
    - Click Count (0)
Back to Top