- Sort Score
- Num 10 results
- Language All
Results 171 - 180 of 674 for float32 (0.05 seconds)
-
docs_src/path_operation_configuration/tutorial003_py310.py
from fastapi import FastAPI from pydantic import BaseModel app = FastAPI() class Item(BaseModel): name: str description: str | None = None price: float tax: float | None = None tags: set[str] = set() @app.post( "/items/", summary="Create an item", description="Create an item with all the information, name, description, price, tax and a set of unique tags", )
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Feb 04 12:07:26 GMT 2026 - 457 bytes - Click Count (0) -
docs_src/schema_extra_example/tutorial002_py310.py
app = FastAPI() class Item(BaseModel): name: str = Field(examples=["Foo"]) description: str | None = Field(default=None, examples=["A very nice Item"]) price: float = Field(examples=[35.4]) tax: float | None = Field(default=None, examples=[3.2]) @app.put("/items/{item_id}") async def update_item(item_id: int, item: Item): results = {"item_id": item_id, "item": item}
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Jun 30 18:25:16 GMT 2023 - 479 bytes - Click Count (0) -
src/main/java/org/codelibs/fess/opensearch/config/bsentity/BsElevateWord.java
// ======== public Float getBoost() { checkSpecifiedProperty("boost"); return boost; } public void setBoost(Float value) { registerModifiedProperty("boost"); this.boost = value; } public String getCreatedBy() {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 15 06:53:53 GMT 2025 - 7.1K bytes - Click Count (0) -
docs_src/body_multiple_params/tutorial001_an_py310.py
from typing import Annotated from fastapi import FastAPI, Path from pydantic import BaseModel app = FastAPI() class Item(BaseModel): name: str description: str | None = None price: float tax: float | None = None @app.put("/items/{item_id}") async def update_item( item_id: Annotated[int, Path(title="The ID of the item to get", ge=0, le=1000)], q: str | None = None, item: Item | None = None,
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Mar 18 12:29:59 GMT 2023 - 579 bytes - Click Count (0) -
docs/tr/docs/tutorial/extra-data-types.md
# Ek Veri Tipleri { #extra-data-types } Şimdiye kadar şunlar gibi yaygın veri tiplerini kullanıyordunuz: * `int` * `float` * `str` * `bool` Ancak daha karmaşık veri tiplerini de kullanabilirsiniz. Ve yine, şimdiye kadar gördüğünüz özelliklerin aynısına sahip olursunuz: * Harika editör desteği. * Gelen request'lerden veri dönüştürme. * response verileri için veri dönüştürme. * Veri doğrulama.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 07:53:17 GMT 2026 - 2.8K bytes - Click Count (0) -
docs_src/path_operation_configuration/tutorial005_py310.py
from fastapi import FastAPI from pydantic import BaseModel app = FastAPI() class Item(BaseModel): name: str description: str | None = None price: float tax: float | None = None tags: set[str] = set() @app.post( "/items/", summary="Create an item", response_description="The created item", ) async def create_item(item: Item) -> Item: """
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Feb 04 12:07:26 GMT 2026 - 681 bytes - Click Count (0) -
android/guava/src/com/google/common/primitives/UnsignedLong.java
} /** * Returns the value of this {@code UnsignedLong} as a {@code float}, analogous to a widening * primitive conversion from {@code long} to {@code float}, and correctly rounded. */ @Override public float floatValue() { if (value >= 0) { return (float) value; } // The top bit is set, which means that the float value is going to come from the top 24 bits.Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jun 04 13:03:16 GMT 2025 - 8.8K bytes - Click Count (0) -
docs_src/body/tutorial001_py310.py
from fastapi import FastAPI from pydantic import BaseModel class Item(BaseModel): name: str description: str | None = None price: float tax: float | None = None app = FastAPI() @app.post("/items/") async def create_item(item: Item):
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Jan 07 14:11:31 GMT 2022 - 271 bytes - Click Count (0) -
docs_src/dataclasses_/tutorial001_py310.py
from dataclasses import dataclass from fastapi import FastAPI @dataclass class Item: name: str price: float description: str | None = None tax: float | None = None app = FastAPI() @app.post("/items/") async def create_item(item: Item):Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Dec 26 10:43:02 GMT 2025 - 275 bytes - Click Count (0) -
internal/amztime/iso8601_time.go
) // ISO8601Format converts time 't' into ISO8601 time format expected in AWS S3 spec. // // This function is needed to avoid a Go's float64 precision bug, where Go avoids // padding the extra '0' before the timezone. func ISO8601Format(t time.Time) string { value := t.Format(iso8601TimeFormat) if len(value) < len(iso8601TimeFormat) {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Mon Jan 16 23:38:33 GMT 2023 - 1.9K bytes - Click Count (0)