- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 66 for 18 (0.06 seconds)
-
tests/test_tutorial/test_sql_databases/test_tutorial001.py
) # Read all heroes # Create more heroes first response = client.post( "/heroes/", json={"name": "Spider-Boy", "age": 18, "secret_name": "Pedro Parqueador"}, ) assert response.status_code == 200, response.text response = client.post( "/heroes/", json={"name": "Rusty-Man", "secret_name": "Tommy Sharp"} )Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 18:19:10 GMT 2025 - 14K bytes - Click Count (0) -
tests/generics_test.go
if rows != 1 { t.Fatalf("failed to get affected rows, got %d, should be %d", rows, 1) } nu, err = gorm.G[User](DB).Where("id = ?", u.ID).Last(ctx) if err != nil { t.Fatalf("failed to find user, got error: %v", err) } else if nu.Name != "GenericsExecUpdates" || nu.Age != 18 || u.ID != nu.ID {Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Sun Nov 02 14:09:18 GMT 2025 - 33.7K bytes - Click Count (0) -
tests/test_tutorial/test_sql_databases/test_tutorial002.py
{"name": "Spider-Boy", "age": 18, "id": IsInt()}, {"name": "Rusty-Man", "age": None, "id": IsInt()}, ] ) response = client.get("/heroes/?offset=1&limit=1") assert response.status_code == 200, response.text assert response.json() == snapshot( [{"name": "Spider-Boy", "age": 18, "id": IsInt()}] ) # Update a heroCreated: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 18:19:10 GMT 2025 - 17.9K bytes - Click Count (0) -
docs/de/docs/tutorial/body-nested-models.md
### Das Kindmodell als Typ verwenden { #use-the-submodel-as-a-type } Und dann können wir es als Typ eines Attributes verwenden: {* ../../docs_src/body_nested_models/tutorial004_py310.py hl[18] *} Das würde bedeuten, dass **FastAPI** einen Body wie folgt erwartet: ```JSON { "name": "Foo", "description": "The pretender", "price": 42.0, "tax": 3.2,Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 7.6K bytes - Click Count (0) -
docs/pt/docs/tutorial/body-nested-models.md
### Use o sub-modelo como um tipo { #use-the-submodel-as-a-type } E então podemos usa-lo como o tipo de um atributo: {* ../../docs_src/body_nested_models/tutorial004_py310.py hl[18] *} Isso significa que o **FastAPI** vai esperar um corpo similar à: ```JSON { "name": "Foo", "description": "The pretender", "price": 42.0, "tax": 3.2,Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 7.4K bytes - Click Count (0) -
docs/es/docs/tutorial/body-nested-models.md
### Usar el submodelo como tipo { #use-the-submodel-as-a-type } Y luego podemos usarlo como el tipo de un atributo: {* ../../docs_src/body_nested_models/tutorial004_py310.py hl[18] *} Esto significaría que **FastAPI** esperaría un cuerpo similar a: ```JSON { "name": "Foo", "description": "The pretender", "price": 42.0, "tax": 3.2,Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 7.2K bytes - Click Count (0) -
docs/en/docs/tutorial/body-nested-models.md
### Use the submodel as a type { #use-the-submodel-as-a-type } And then we can use it as the type of an attribute: {* ../../docs_src/body_nested_models/tutorial004_py310.py hl[18] *} This would mean that **FastAPI** would expect a body similar to: ```JSON { "name": "Foo", "description": "The pretender", "price": 42.0, "tax": 3.2,Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 6.7K bytes - Click Count (0) -
docs/ru/docs/tutorial/body-nested-models.md
### Использование подмодели как типа { #use-the-submodel-as-a-type } Также мы можем использовать эту модель как тип атрибута: {* ../../docs_src/body_nested_models/tutorial004_py310.py hl[18] *} Это означает, что **FastAPI** будет ожидать тело запроса, аналогичное этому: ```JSON { "name": "Foo", "description": "The pretender", "price": 42.0, "tax": 3.2,Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 11.5K bytes - Click Count (0) -
docs/es/docs/advanced/templates.md
{* ../../docs_src/templates/tutorial001_py39.py hl[4,11,15:18] *} /// note | Nota Antes de FastAPI 0.108.0, Starlette 0.29.0, el `name` era el primer parámetro.Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 3.7K bytes - Click Count (0) -
cmd/object-api-interface_gen.go
return } } } o = bts return } // Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message func (z BucketOptions) Msgsize() (s int) { s = 1 + 8 + msgp.BoolSize + 7 + msgp.BoolSize + 11 + msgp.BoolSize return } // MarshalMsg implements msgp.Marshaler func (z ExpirationOptions) MarshalMsg(b []byte) (o []byte, err error) { o = msgp.Require(b, z.Msgsize())
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 8.7K bytes - Click Count (0)