- Sort Score
- Num 10 results
- Language All
Results 4461 - 4470 of 4,666 for inT (0.2 seconds)
-
docs_src/body/tutorial004_py310.py
class Item(BaseModel): name: str description: str | None = None price: float tax: float | None = None app = FastAPI() @app.put("/items/{item_id}") async def update_item(item_id: int, item: Item, q: str | None = None): result = {"item_id": item_id, **item.model_dump()} if q: result.update({"q": q})
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Dec 20 15:55:38 GMT 2025 - 414 bytes - Click Count (0) -
docs/pt/docs/tutorial/sql-databases.md
Ele também declara novamente `id: int`. Ao fazer isso, estamos fazendo um **contrato** com os clientes da API, para que eles possam sempre esperar que o `id` estará lá e será um `int` (nunca será `None`). /// tip | Dica
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:20:43 GMT 2026 - 16.5K bytes - Click Count (0) -
docs_src/body_nested_models/tutorial005_py310.py
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Jan 07 14:11:31 GMT 2022 - 468 bytes - Click Count (0) -
docs/fr/docs/tutorial/path-params.md
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:37:13 GMT 2026 - 10.1K bytes - Click Count (0) -
cmd/batch-replicate_gen.go
return } } } o = bts return } // Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message func (z BatchJobReplicateCredentials) Msgsize() (s int) { s = 1 + 10 + msgp.StringPrefixSize + len(z.AccessKey) + 10 + msgp.StringPrefixSize + len(z.SecretKey) + 13 + msgp.StringPrefixSize + len(z.SessionToken) return } // DecodeMsg implements msgp.Decodable
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 40.7K bytes - Click Count (0) -
docs_src/handling_errors/tutorial004_py310.py
for error in exc.errors(): message += f"\nField: {error['loc']}, Error: {error['msg']}" return PlainTextResponse(message, status_code=400) @app.get("/items/{item_id}") async def read_item(item_id: int): if item_id == 3: raise HTTPException(status_code=418, detail="Nope! I don't like 3.")
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 920 bytes - Click Count (0) -
docs_src/handling_errors/tutorial005_py310.py
return JSONResponse( status_code=422, content=jsonable_encoder({"detail": exc.errors(), "body": exc.body}), ) class Item(BaseModel): title: str size: int @app.post("/items/") async def create_item(item: Item):
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 626 bytes - Click Count (0) -
internal/s3select/sql/evaluate.go
// aggregation or a row function - it always returns a value. func (e *LitValue) evalNode(_ Record) (res *Value, err error) { switch { case e.Int != nil: if *e.Int < math.MaxInt64 && *e.Int > math.MinInt64 { return FromInt(int64(*e.Int)), nil } return FromFloat(*e.Int), nil case e.Float != nil: return FromFloat(*e.Float), nil case e.String != nil: return FromString(string(*e.String)), nil
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 12K bytes - Click Count (0) -
tests/test_tutorial/test_advanced_middleware/test_tutorial003.py
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 671 bytes - Click Count (0) -
docs/es/docs/tutorial/path-params.md
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:15:55 GMT 2026 - 9.4K bytes - Click Count (0)