- Sort Score
- Num 10 results
- Language All
Results 381 - 390 of 593 for ITEM (0.02 seconds)
-
docs/ja/docs/advanced/additional-status-codes.md
それは、デフォルトのステータスコードか、 *path operation* でセットしたものを利用します。 ## 追加のステータスコード メインのステータスコードとは別に、他のステータスコードを返したい場合は、`Response` (`JSONResponse` など) に追加のステータスコードを設定して直接返します。 例えば、itemを更新し、成功した場合は200 "OK"のHTTPステータスコードを返す *path operation* を作りたいとします。 しかし、新しいitemも許可したいです。itemが存在しない場合は、それらを作成して201 "Created"を返します。 これを達成するには、 `JSONResponse` をインポートし、 `status_code` を設定して直接内容を返します。 {* ../../docs_src/additional_status_codes/tutorial001.py hl[4,25] *}
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Mon Nov 18 02:25:44 GMT 2024 - 2.2K bytes - Click Count (0) -
tests/test_tutorial/test_path_operation_advanced_configurations/test_tutorial007.py
"post": { "summary": "Create Item", "operationId": "create_item_items__post", "requestBody": { "content": { "application/x-yaml": { "schema": { "title": "Item", "required": ["name", "tags"],
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 20 15:55:38 GMT 2025 - 3.4K bytes - Click Count (0) -
docs/uk/docs/tutorial/body.md
...і вкажіть її тип як модель, яку ви створили, `Item`. ## Результати Лише з цим оголошенням типу Python **FastAPI** буде: * Читати тіло запиту як JSON. * Перетворювати відповідні типи (якщо потрібно). * Валідувати дані. * Якщо дані недійсні, він поверне гарну та чітку помилку, вказуючи, де саме і які дані були неправильними. * Надавати отримані дані у параметрі `item`.Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Mon Nov 18 02:25:44 GMT 2024 - 10K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/resolver/MavenChainedWorkspaceReader.java
* chains a collection of {@link WorkspaceReader}s * @param workspaceReaderCollection the collection of readers, might be empty but never <code>null</code> * @return if the collection contains only one item returns the single item, otherwise creates a new * {@link MavenChainedWorkspaceReader} chaining all readers in the order of the given collection. */Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 5.8K bytes - Click Count (0) -
docs/de/docs/advanced/dataclasses.md
3. Die Datenklasse `Author` enthält eine Liste von `Item`-Datenklassen. 4. Die Datenklasse `Author` wird im `response_model`-Parameter verwendet. 5. Sie können andere Standard-Typannotationen mit Datenklassen als Requestbody verwenden. In diesem Fall handelt es sich um eine Liste von `Item`-Datenklassen.Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Dec 26 10:43:02 GMT 2025 - 5K bytes - Click Count (0) -
docs/en/docs/advanced/dataclasses.md
2. `pydantic.dataclasses` is a drop-in replacement for `dataclasses`. 3. The `Author` dataclass includes a list of `Item` dataclasses. 4. The `Author` dataclass is used as the `response_model` parameter. 5. You can use other standard type annotations with dataclasses as the request body. In this case, it's a list of `Item` dataclasses. 6. Here we are returning a dictionary that contains `items` which is a list of dataclasses.Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Dec 26 10:43:02 GMT 2025 - 4.2K bytes - Click Count (0) -
scripts/playwright/separate_openapi_schemas/image05.py
# Update the viewport manually context = browser.new_context(viewport={"width": 960, "height": 1080}) page = context.new_page() page.goto("http://localhost:8000/docs") page.get_by_role("button", name="Item", exact=True).click() page.set_viewport_size({"width": 960, "height": 700}) # Manually add the screenshot page.screenshot( path="docs/en/docs/img/tutorial/separate-openapi-schemas/image05.png" )Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Sep 13 09:14:46 GMT 2024 - 984 bytes - Click Count (0) -
tests/test_tutorial/test_templates/test_tutorial001.py
client = TestClient(app) response = client.get("/items/foo") assert response.status_code == 200, response.text assert ( b'<h1><a href="http://testserver/items/foo">Item ID: foo</a></h1>' in response.content ) response = client.get("/static/styles.css") assert response.status_code == 200, response.text assert b"color: green;" in response.contentCreated: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 915 bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/ProjectBuildList.java
} @Override public Iterator<ProjectSegment> iterator() { return items.iterator(); } public void closeAll() { for (ProjectSegment item : items) { MavenSession sessionForThisModule = item.getSession(); sessionForThisModule.setCurrentProject(null); } } public int size() { return items.size(); }Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 4.1K bytes - Click Count (0) -
impl/maven-cli/src/test/resources/mavenHome/conf/maven-system.properties
maven.user.conf = ${user.home}/.m2 maven.project.conf = ${session.rootDirectory}/.mvn # Comma-separated list of files to include. # Each item may be enclosed in quotes to gracefully include spaces. Items are trimmed before being loaded. # If the first character of an item is a question mark, the load will silently fail if the file does not exist. ${includes} = ?"${maven.user.conf}/maven-system.properties", \Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Jul 03 14:18:26 GMT 2025 - 2.8K bytes - Click Count (0)