Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 486 for uuid (0.02 sec)

  1. docs/ru/docs/tutorial/extra-data-types.md

    * Валидация данных.
    * Автоматическая аннотация и документация.
    
    ## Другие типы данных
    
    Ниже перечислены некоторые из дополнительных типов данных, которые вы можете использовать:
    
    * `UUID`:
        * Стандартный "Универсальный уникальный идентификатор", используемый в качестве идентификатора во многих базах данных и системах.
        * В запросах и ответах будет представлен как `str`.
    * `datetime.datetime`:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  2. docs/zh/docs/tutorial/extra-data-types.md

    * `int`
    * `float`
    * `str`
    * `bool`
    
    但是您也可以使用更复杂的数据类型。
    
    您仍然会拥有现在已经看到的相同的特性:
    
    * 很棒的编辑器支持。
    * 传入请求的数据转换。
    * 响应数据转换。
    * 数据验证。
    * 自动补全和文档。
    
    ## 其他数据类型
    
    下面是一些你可以使用的其他数据类型:
    
    * `UUID`:
        * 一种标准的 "通用唯一标识符" ,在许多数据库和系统中用作ID。
        * 在请求和响应中将以 `str` 表示。
    * `datetime.datetime`:
        * 一个 Python `datetime.datetime`.
        * 在请求和响应中将表示为 ISO 8601 格式的 `str` ,比如: `2008-09-15T15:53:00+05:00`.
    * `datetime.date`:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  3. docs/bucket/versioning/DESIGN.md

    Each header contains a mspg array (tuple) encoded object:
    
    xlHeaderVersion version == 1:
    
    ```
    //msgp:tuple xlMetaV2VersionHeader
    type xlMetaV2VersionHeader struct {
     VersionID [16]byte  // Version UUID, raw.
     ModTime   int64     // Unix nanoseconds.
     Signature [4]byte   // Signature of metadata.
     Type      uint8     // Type if the version
     Flags     uint8
    }
    ```
    
    The following flags are defined:
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Jul 17 15:43:14 UTC 2022
    - 5.8K bytes
    - Viewed (0)
  4. docs/em/docs/advanced/response-directly.md

    ## ⚙️ `jsonable_encoder` `Response`
    
    ↩️ **FastAPI** 🚫 🙆 🔀 `Response` 👆 📨, 👆 ✔️ ⚒ 💭 ⚫️ 🎚 🔜 ⚫️.
    
    🖼, 👆 🚫🔜 🚮 Pydantic 🏷 `JSONResponse` 🍵 🥇 🏭 ⚫️ `dict` ⏮️ 🌐 📊 🆎 (💖 `datetime`, `UUID`, ♒️) 🗜 🎻-🔗 🆎.
    
    📚 💼, 👆 💪 ⚙️ `jsonable_encoder` 🗜 👆 📊 ⏭ 🚶‍♀️ ⚫️ 📨:
    
    ```Python hl_lines="6-7  21-22"
    {!../../docs_src/response_directly/tutorial001.py!}
    ```
    
    /// note | "📡 ℹ"
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  5. cmd/peer-s3-server.go

    	}
    
    	// mutate only if not a dry-run
    	if opts.DryRun {
    		return res, nil
    	}
    
    	for i := range beforeState {
    		res.Before.Drives = append(res.Before.Drives, madmin.HealDriveInfo{
    			UUID:     "",
    			Endpoint: localDrives[i].String(),
    			State:    beforeState[i],
    		})
    	}
    
    	// check dangling and delete bucket only if its not a meta bucket
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 22 21:57:20 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  6. docs/pt/docs/tutorial/extra-data-types.md

    * Conversão de dados para os dados da resposta.
    * Validação de dados.
    * Anotação e documentação automáticas.
    
    ## Outros tipos de dados
    
    Aqui estão alguns dos tipos de dados adicionais que você pode usar:
    
    * `UUID`:
        * Um "Identificador Universalmente Único" padrão, comumente usado como ID em muitos bancos de dados e sistemas.
        * Em requisições e respostas será representado como uma `str`.
    * `datetime.datetime`:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

              .put(OptionalInt.class, OptionalInt.empty())
              .put(OptionalLong.class, OptionalLong.empty())
              .put(OptionalDouble.class, OptionalDouble.empty())
              .put(UUID.class, UUID.randomUUID())
              // common.base
              .put(CharMatcher.class, CharMatcher.none())
              .put(Joiner.class, Joiner.on(','))
              .put(Splitter.class, Splitter.on(','))
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  8. cmd/erasure-healing_test.go

    	}
    
    	// After heal the meta file should be as expected.
    	if !fileInfoPreHeal.Equals(fileInfoPostHeal) {
    		t.Fatal("HealObject failed")
    	}
    
    	uuid, _ := uuid2.NewRandom()
    	for _, drive := range fsDirs {
    		dir := path.Join(drive, bucket, object, uuid.String())
    		err = os.MkdirAll(dir, os.ModePerm)
    		if err != nil {
    			t.Fatal(err)
    		}
    		err = os.WriteFile(pathJoin(dir, "part.1"), []byte("some data"), os.ModePerm)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 49K bytes
    - Viewed (0)
  9. tests/test_tutorial/test_extra_data_types/test_tutorial001_py310.py

                                "required": True,
                                "schema": {
                                    "title": "Item Id",
                                    "type": "string",
                                    "format": "uuid",
                                },
                                "name": "item_id",
                                "in": "path",
                            }
                        ],
                        "requestBody": {
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Apr 19 00:11:40 UTC 2024
    - 7K bytes
    - Viewed (0)
  10. docs/de/docs/advanced/response-directly.md

    Sie können beispielsweise kein Pydantic-Modell in eine `JSONResponse` einfügen, ohne es zuvor in ein `dict` zu konvertieren, bei dem alle Datentypen (wie `datetime`, `UUID`, usw.) in JSON-kompatible Typen konvertiert wurden.
    
    In diesen Fällen können Sie den `jsonable_encoder` verwenden, um Ihre Daten zu konvertieren, bevor Sie sie an eine Response übergeben:
    
    ```Python hl_lines="6-7  21-22"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.5K bytes
    - Viewed (0)
Back to top