- Sort Score
- Num 10 results
- Language All
Results 81 - 90 of 1,089 for itens (0.02 seconds)
-
fastapi/.agents/skills/fastapi/SKILL.md
```python from typing import Annotated from fastapi import Body, FastAPI from pydantic import Field app = FastAPI() @app.post("/items/") async def create_items(items: Annotated[list[int], Field(min_length=1), Body()]): return items ``` instead of: ```python # DO NOT DO THIS from typing import Annotated from fastapi import FastAPI from pydantic import Field, RootModel
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Mar 01 10:05:57 GMT 2026 - 10.1K bytes - Click Count (0) -
tests/test_tutorial/test_body_updates/test_tutorial002.py
def test_get(client: TestClient): response = client.get("/items/baz") assert response.status_code == 200, response.text assert response.json() == { "name": "Baz", "description": None, "price": 50.2, "tax": 10.5, "tags": [], } def test_patch_all(client: TestClient): response = client.patch( "/items/foo", json={ "name": "Fooz",
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 7.8K bytes - Click Count (0) -
tests/test_strict_content_type_router_level.py
router_default = APIRouter(prefix="/default") @router_lax.post("/items/") async def router_lax_post(data: dict): return data @router_strict.post("/items/") async def router_strict_post(data: dict): return data @router_default.post("/items/") async def router_default_post(data: dict): return data app.include_router(router_lax)
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Mon Feb 23 17:45:20 GMT 2026 - 1.7K bytes - Click Count (0) -
docs/fr/docs/tutorial/bigger-applications.md
* chercher le sous-package `routers` (le répertoire `app/routers/`)... * et en importer le sous-module `items` (le fichier `app/routers/items.py`) et `users` (le fichier `app/routers/users.py`)... Le module `items` aura une variable `router` (`items.router`). C'est celle que nous avons créée dans le fichier `app/routers/items.py`, c'est un objet `APIRouter`. Nous faisons ensuite la même chose pour le module `users`.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:37:13 GMT 2026 - 21.4K bytes - Click Count (0) -
docs/es/docs/tutorial/bigger-applications.md
* busca el subpaquete `routers` (el directorio en `app/routers/`)... * y de él, importa el submódulo `items` (el archivo en `app/routers/items.py`) y `users` (el archivo en `app/routers/users.py`)... El módulo `items` tendrá una variable `router` (`items.router`). Este es el mismo que creamos en el archivo `app/routers/items.py`, es un objeto `APIRouter`. Y luego hacemos lo mismo para el módulo `users`.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:15:55 GMT 2026 - 20.2K bytes - Click Count (0) -
tests/test_regex_deprecated_params.py
@needs_py310 def test_query_params_str_validations_no_query(): client = get_client() response = client.get("/items/") assert response.status_code == 200 assert response.json() == "Hello World" @needs_py310 def test_query_params_str_validations_q_fixedquery(): client = get_client() response = client.get("/items/", params={"q": "fixedquery"}) assert response.status_code == 200
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Feb 08 10:18:38 GMT 2026 - 5.1K bytes - Click Count (0) -
docs_src/path_operation_configuration/tutorial002b_py310.py
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 323 bytes - Click Count (0) -
docs_src/extra_models/tutorial004_py310.py
app = FastAPI() class Item(BaseModel): name: str description: str items = [ {"name": "Foo", "description": "There comes my hero"}, {"name": "Red", "description": "It's my aeroplane"}, ] @app.get("/items/", response_model=list[Item]) async def read_items():
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 356 bytes - Click Count (0) -
src/main/webapp/WEB-INF/view/searchResults.jsp
</div> <div class="offcanvas-body"> <c:forEach var="fieldData" items="${facetResponse.fieldList}"> <c:if test="${fieldData.name == 'label' && fieldData.valueCountMap.size() > 0}"> <ul class="list-group mb-2"> <li class="list-group-item text-uppercase"><la:message key="labels.facet_label_title" /></li> <c:forEach var="countEntry" items="${fieldData.valueCountMap}">
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Mon Feb 23 08:03:44 GMT 2026 - 12.2K bytes - Click Count (0) -
.teamcity/src/test/kotlin/PromotionProjectTests.kt
@Test fun `promotion sanity check runs 'gradle tasks'`() { val model = setupModelFor("release") val sanityCheck = model.findBuildTypeByName("SanityCheck") val steps = sanityCheck.steps.items val gradleBuildStep = gradleStep(steps, 0) gradleBuildStep.assertTasks("tasks") } @Test fun `nightly promotion build type runs three gradle invocations`() {Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Thu Jun 12 09:41:54 GMT 2025 - 15.3K bytes - Click Count (1)