- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 82 for uuid (0.2 seconds)
-
tests/test_pydanticv2_dataclasses_uuid_stringified_annotations.py
from __future__ import annotations import uuid from dataclasses import dataclass, field from dirty_equals import IsUUID from fastapi import FastAPI from fastapi.testclient import TestClient from inline_snapshot import snapshot @dataclass class Item: id: uuid.UUID name: str price: float tags: list[str] = field(default_factory=list) description: str | None = None tax: float | None = NoneCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Mon Mar 16 10:16:48 GMT 2026 - 1.1K bytes - Click Count (0) -
.teamcity/src/main/kotlin/projects/SmokeTestProject.kt
stage: Stage, smokeBuildTypes: List<OsAwareBaseGradleBuildType>, ) : Project({ id("${model.projectId}_Stage_${stage.stageName.id}_SmokeTest") uuid = "${DslContext.uuidPrefix}_${model.projectId}_Stage_${stage.stageName.uuid}_SmokeTest" name = "Smoke Test" description = "Smoke tests against third-party plugins, Gradle build, and IDE sync" }) { init {Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Mon Mar 30 04:44:29 GMT 2026 - 1.5K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/entity/SearchRenderDataTest.java
searchRenderData.setQueryId(""); assertEquals("", searchRenderData.getQueryId()); // Test with UUID-like string String uuid = "123e4567-e89b-12d3-a456-426614174000"; searchRenderData.setQueryId(uuid); assertEquals(uuid, searchRenderData.getQueryId()); // Test with simple ID searchRenderData.setQueryId("query-001");
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 23.6K bytes - Click Count (0) -
fastapi/encoders.py
IPv4Network, IPv6Address, IPv6Interface, IPv6Network, ) from pathlib import Path, PurePath from re import Pattern from types import GeneratorType from typing import Annotated, Any from uuid import UUID from annotated_doc import Doc from fastapi.exceptions import PydanticV1NotSupportedError from fastapi.types import IncEx from pydantic import BaseModel from pydantic.color import Color # ty: ignore[deprecated]Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Mar 15 11:44:39 GMT 2026 - 10.9K bytes - Click Count (0) -
docs/en/docs/tutorial/extra-data-types.md
* Data conversion for response data. * Data validation. * Automatic annotation and documentation. ## Other data types { #other-data-types } Here are some of the additional data types you can use: * `UUID`: * A standard "Universally Unique Identifier", common as an ID in many databases and systems. * In requests and responses will be represented as a `str`. * `datetime.datetime`: * A Python `datetime.datetime`.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 2.6K bytes - Click Count (0) -
docs/zh-hant/docs/tutorial/extra-data-types.md
* `str` * `bool` 但你也可以使用更複雜的資料型別。 而且你仍然會擁有目前為止所見的同樣功能: * 極佳的編輯器支援。 * 將傳入請求的資料轉換。 * 回應資料的轉換。 * 資料驗證。 * 自動產生註解與文件。 ## 其他資料型別 { #other-data-types } 以下是你可以使用的一些其他資料型別: * `UUID`: * 一種標準的「通用唯一識別碼 (Universally Unique Identifier)」,常見於許多資料庫與系統的 ID。 * 在請求與回應中會以 `str` 表示。 * `datetime.datetime`: * Python 的 `datetime.datetime`。 * 在請求與回應中會以 ISO 8601 格式的 `str` 表示,例如:`2008-09-15T15:53:00+05:00`。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 2.6K bytes - Click Count (0) -
docs/zh/docs/tutorial/extra-data-types.md
* `float` * `str` * `bool` 但是您也可以使用更复杂的数据类型。 您仍然会拥有现在已经看到的相同的特性: * 很棒的编辑器支持。 * 传入请求的数据转换。 * 响应数据转换。 * 数据验证。 * 自动注解和文档。 ## 其他数据类型 { #other-data-types } 下面是一些你可以使用的其他数据类型: * `UUID`: * 一种标准的 "通用唯一标识符" ,在许多数据库和系统中用作ID。 * 在请求和响应中将以 `str` 表示。 * `datetime.datetime`: * 一个 Python `datetime.datetime`. * 在请求和响应中将表示为 ISO 8601 格式的 `str` ,比如: `2008-09-15T15:53:00+05:00`. * `datetime.date`:Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:06:37 GMT 2026 - 2.5K bytes - Click Count (0) -
docs/en/docs/advanced/response-directly.md
For example, you cannot put a Pydantic model in a `JSONResponse` without first converting it to a `dict` with all the data types (like `datetime`, `UUID`, etc) converted to JSON-compatible types. For those cases, you can use the `jsonable_encoder` to convert your data before passing it to a response: {* ../../docs_src/response_directly/tutorial001_py310.py hl[5:6,20:21] *}
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 4K bytes - Click Count (0) -
docs/ko/docs/features.md
* JSON 객체 (`dict`). * 아이템 타입을 정의하는 JSON 배열 (`list`). * 최소/최대 길이를 정의하는 문자열(`str`) 필드. * 최소/최대 값을 가지는 숫자(`int`, `float`) 등. * 다음과 같은 좀 더 이색적인 타입에 대한 검증: * URL. * Email. * UUID. * ...그 외. 모든 검증은 잘 확립되어 있고 견고한 **Pydantic**이 처리합니다. ### 보안과 인증 { #security-and-authentication } 보안과 인증이 통합되어 있습니다. 데이터베이스나 데이터 모델과 타협하지 않습니다. 다음을 포함해 OpenAPI에 정의된 모든 보안 스키마:Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:06:26 GMT 2026 - 11K bytes - Click Count (0) -
docs/en/docs/features.md
* String (`str`) fields, defining min and max lengths. * Numbers (`int`, `float`) with min and max values, etc. * Validation for more exotic types, like: * URL. * Email. * UUID. * ...and others. All the validation is handled by the well-established and robust **Pydantic**. ### Security and authentication { #security-and-authentication }
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 8.9K bytes - Click Count (0)