- Sort Score
- Num 10 results
- Language All
Results 231 - 240 of 399 for float64 (0.18 seconds)
-
docs/de/docs/tutorial/extra-data-types.md
# Zusätzliche Datentypen { #extra-data-types } Bisher haben Sie gängige Datentypen verwendet, wie zum Beispiel: * `int` * `float` * `str` * `bool` Sie können aber auch komplexere Datentypen verwenden. Und Sie haben immer noch dieselbe Funktionalität wie bisher gesehen: * Großartige Editor-Unterstützung. * Datenkonvertierung bei eingehenden <abbr title="Request – Anfrage: Daten, die der Client zum Server sendet">Requests</abbr>.Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Sep 20 15:10:09 GMT 2025 - 3.2K bytes - Click Count (0) -
tests/test_arbitrary_types.py
) class FakeNumpyArray: def __init__(self): self.data = [1.0, 2.0, 3.0] FakeNumpyArrayPydantic = Annotated[ FakeNumpyArray, WithJsonSchema(TypeAdapter(list[float]).json_schema()), PlainSerializer(lambda v: v.data), ] class MyModel(BaseModel): model_config = ConfigDict(arbitrary_types_allowed=True) custom_field: FakeNumpyArrayPydanticCreated: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 20 15:55:38 GMT 2025 - 3.8K bytes - Click Count (0) -
docs_src/body_updates/tutorial002_py39.py
from pydantic import BaseModel app = FastAPI() class Item(BaseModel): name: Union[str, None] = None description: Union[str, None] = None price: Union[float, None] = None tax: float = 10.5 tags: list[str] = [] items = { "foo": {"name": "Foo", "price": 50.2}, "bar": {"name": "Bar", "description": "The bartenders", "price": 62, "tax": 20.2},
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 20 15:55:38 GMT 2025 - 1K bytes - Click Count (0) -
docs_src/pydantic_v1_in_v2/tutorial001_an_py310.py
from pydantic.v1 import BaseModel class Item(BaseModel): name: str description: str | None = None
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Oct 11 16:45:54 GMT 2025 - 124 bytes - Click Count (0) -
docs/uk/docs/tutorial/extra-data-types.md
# Додаткові типи даних До цього часу, ви використовували загальнопоширені типи даних, такі як: * `int` * `float` * `str` * `bool` Але можна також використовувати більш складні типи даних. І ви все ще матимете ті ж можливості, які були показані до цього: * Чудова підтримка редактора. * Конвертація даних з вхідних запитів. * Конвертація даних для відповіді. * Валідація даних. * Автоматична анотація та документація.
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Mon Nov 18 02:25:44 GMT 2024 - 4.2K bytes - Click Count (0) -
internal/s3select/sql/record.go
return v, nil case simdjson.TypeFloat: v, err := iter.Float() if err != nil { return nil, err } return v, nil case simdjson.TypeInt: v, err := iter.Int() if err != nil { return nil, err } return v, nil case simdjson.TypeUint: v, err := iter.Int() if err != nil { // Can't fit into int, convert to float. v, err := iter.Float() return v, err } return v, nilCreated: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 3.4K bytes - Click Count (0) -
docs/en/docs/tutorial/extra-data-types.md
# Extra Data Types { #extra-data-types } Up to now, you have been using common data types, like: * `int` * `float` * `str` * `bool` But you can also use more complex data types. And you will still have the same features as seen up to now: * Great editor support. * Data conversion from incoming requests. * Data conversion for response data. * Data validation. * Automatic annotation and documentation.Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sun Aug 31 09:15:41 GMT 2025 - 2.7K bytes - Click Count (0) -
docs/es/docs/tutorial/extra-data-types.md
# Tipos de Datos Extra { #extra-data-types } Hasta ahora, has estado usando tipos de datos comunes, como: * `int` * `float` * `str` * `bool` Pero también puedes usar tipos de datos más complejos. Y seguirás teniendo las mismas funcionalidades como hasta ahora: * Gran soporte de editor. * Conversión de datos de requests entrantes. * Conversión de datos para datos de response. * Validación de datos.Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Tue Dec 16 16:33:45 GMT 2025 - 2.9K bytes - Click Count (0) -
build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/sources/KotlinSourceQueries.kt
"short" to "Short", "java.lang.Integer" to "Int", "int" to "Int", "java.lang.Long" to "Long", "long" to "Long", "java.lang.Float" to "Float", "float" to "Float", "java.lang.Double" to "Double", "double" to "Double" ) // See `org.gradle.kotlin.dsl.internal.sharedruntime.codegen.ApiTypeProviderKt.mappedTypeStrings` private
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Tue Jul 08 07:02:19 GMT 2025 - 13.2K bytes - Click Count (0) -
docs/zh/docs/tutorial/extra-data-types.md
# 额外数据类型 到目前为止,您一直在使用常见的数据类型,如: * `int` * `float` * `str` * `bool` 但是您也可以使用更复杂的数据类型。 您仍然会拥有现在已经看到的相同的特性: * 很棒的编辑器支持。 * 传入请求的数据转换。 * 响应数据转换。 * 数据验证。 * 自动补全和文档。 ## 其他数据类型 下面是一些你可以使用的其他数据类型: * `UUID`: * 一种标准的 "通用唯一标识符" ,在许多数据库和系统中用作ID。 * 在请求和响应中将以 `str` 表示。 * `datetime.datetime`: * 一个 Python `datetime.datetime`.Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Mon Nov 18 02:25:44 GMT 2024 - 2.5K bytes - Click Count (0)