- Sort Score
- Result 10 results
- Languages All
Results 311 - 320 of 540 for item_d (0.05 sec)
-
docs_src/pydantic_v1_in_v2/tutorial003_an_py39.py
from pydantic.v1 import BaseModel class Item(BaseModel): name: str description: Union[str, None] = None size: float class ItemV2(BaseModelV2): name: str description: Union[str, None] = None size: float app = FastAPI() @app.post("/items/", response_model=ItemV2) async def create_item(item: Item):Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 445 bytes - Viewed (0) -
docs/ru/docs/tutorial/query-params.md
В этом случае, если вы сделаете запрос: ``` http://127.0.0.1:8000/items/foo?short=1 ``` или ``` http://127.0.0.1:8000/items/foo?short=True ``` или ``` http://127.0.0.1:8000/items/foo?short=true ``` или ``` http://127.0.0.1:8000/items/foo?short=on ``` или ``` http://127.0.0.1:8000/items/foo?short=yes ```
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 7.8K bytes - Viewed (0) -
docs/ja/docs/tutorial/path-params-numeric-validations.md
## Pathのインポート まず初めに、`fastapi`から`Path`をインポートします: {* ../../docs_src/path_params_numeric_validations/tutorial001.py hl[1] *} ## メタデータの宣言 パラメータは`Query`と同じものを宣言することができます。 例えば、パスパラメータ`item_id`に対して`title`のメタデータを宣言するには以下のようにします: {* ../../docs_src/path_params_numeric_validations/tutorial001.py hl[8] *} /// note | 備考 パスの一部でなければならないので、パスパラメータは常に必須です。 そのため、`...`を使用して必須と示す必要があります。Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Jan 04 10:53:58 UTC 2025 - 5.9K bytes - Viewed (0) -
tests/test_tutorial/test_custom_response/test_tutorial001.py
client = TestClient(mod.app) return client def test_get_custom_response(client: TestClient): response = client.get("/items/") assert response.status_code == 200, response.text assert response.json() == [{"item_id": "Foo"}] def test_openapi_schema(client: TestClient): response = client.get("/openapi.json") assert response.status_code == 200, response.text
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri Dec 26 10:43:02 UTC 2025 - 1.3K bytes - Viewed (0) -
docs/en/docs/tutorial/bigger-applications.md
/// ## Another module with `APIRouter` { #another-module-with-apirouter } Let's say you also have the endpoints dedicated to handling "items" from your application in the module at `app/routers/items.py`. You have *path operations* for: * `/items/` * `/items/{item_id}` It's all the same structure as with `app/routers/users.py`. But we want to be smarter and simplify the code a bit.Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 10 08:55:32 UTC 2025 - 18.6K bytes - Viewed (0) -
docs/fr/docs/tutorial/query-params.md
Avec ce code, en allant sur : ``` http://127.0.0.1:8000/items/foo?short=1 ``` ou ``` http://127.0.0.1:8000/items/foo?short=True ``` ou ``` http://127.0.0.1:8000/items/foo?short=true ``` ou ``` http://127.0.0.1:8000/items/foo?short=on ``` ou ``` http://127.0.0.1:8000/items/foo?short=yes ```
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Nov 09 16:39:20 UTC 2024 - 5.6K bytes - Viewed (0) -
docs/pt/docs/tutorial/query-params.md
Nesse caso, se você for para: ``` http://127.0.0.1:8000/items/foo?short=1 ``` ou ``` http://127.0.0.1:8000/items/foo?short=True ``` ou ``` http://127.0.0.1:8000/items/foo?short=true ``` ou ``` http://127.0.0.1:8000/items/foo?short=on ``` ou ``` http://127.0.0.1:8000/items/foo?short=yes ```
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 5K bytes - Viewed (0) -
docs/es/docs/tutorial/query-params.md
En este caso, si vas a: ``` http://127.0.0.1:8000/items/foo?short=1 ``` o ``` http://127.0.0.1:8000/items/foo?short=True ``` o ``` http://127.0.0.1:8000/items/foo?short=true ``` o ``` http://127.0.0.1:8000/items/foo?short=on ``` o ``` http://127.0.0.1:8000/items/foo?short=yes ```
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 4.8K bytes - Viewed (0) -
docs/ko/docs/tutorial/query-params.md
이 경우, 아래로 이동하면: ``` http://127.0.0.1:8000/items/foo?short=1 ``` 또는 ``` http://127.0.0.1:8000/items/foo?short=True ``` 또는 ``` http://127.0.0.1:8000/items/foo?short=true ``` 또는 ``` http://127.0.0.1:8000/items/foo?short=on ``` 또는 ``` http://127.0.0.1:8000/items/foo?short=yes ```
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 5.2K bytes - Viewed (0) -
docs/tr/docs/python-types.md
/// Bunun anlamı şudur: "`items` değişkeni bir `list`tir ve bu listedeki öğelerin her biri bir `str`dir". Bunu yaparak, düzenleyicinizin listedeki öğeleri işlerken bile destek sağlamasını sağlayabilirsiniz: <img src="/img/python-types/image05.png"> Tip belirteçleri olmadan, bunu başarmak neredeyse imkansızdır. `item` değişkeninin `items` listesindeki öğelerden biri olduğuna dikkat edin.
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 9.5K bytes - Viewed (0)