- Sort Score
- Result 10 results
- Languages All
Results 1201 - 1210 of 1,638 for item2 (0.02 sec)
-
docs_src/extra_data_types/tutorial001_py310.py
from datetime import datetime, time, timedelta from uuid import UUID from fastapi import Body, FastAPI app = FastAPI() @app.put("/items/{item_id}") async def read_items( item_id: UUID, start_datetime: datetime = Body(), end_datetime: datetime = Body(), process_after: timedelta = Body(), repeat_at: time | None = Body(default=None), ): start_process = start_datetime + process_after
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Apr 19 00:11:40 UTC 2024 - 724 bytes - Viewed (0) -
Makefile.overrides.mk
CONTAINER_OPTIONS = --mount type=bind,source=/tmp,destination=/tmp --net=host export COMMONFILES_POSTPROCESS = tools/commonfiles-postprocess.sh ifeq ($(BUILD_WITH_CONTAINER),1) # create phony targets for the top-level items in the repo PHONYS := $(shell ls | grep -v Makefile) .PHONY: $(PHONYS) $(PHONYS): @$(MAKE_DOCKER) $@ endif # istioctl-install builds then installs istioctl into $GOPATH/BIN
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Tue Mar 28 17:29:39 UTC 2023 - 1.4K bytes - Viewed (0) -
docs/ru/docs/tutorial/body.md
* Складывает полученные данные в параметр `item`. * Поскольку внутри функции вы объявили его с типом `Item`, то теперь у вас есть поддержка со стороны редактора (автодополнение и т.п.) для всех атрибутов и их типов.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 10.9K bytes - Viewed (0) -
docs_src/path_operation_advanced_configuration/tutorial002.py
from fastapi import FastAPI from fastapi.routing import APIRoute app = FastAPI() @app.get("/items/") async def read_items(): return [{"item_id": "Foo"}] def use_route_names_as_operation_ids(app: FastAPI) -> None: """ Simplify operation IDs so that generated API clients have simpler function names. Should be called only after all routes have been added. """ for route in app.routes:
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Mar 26 19:09:53 UTC 2020 - 572 bytes - Viewed (0) -
docs/ja/docs/python-types.md
/// tip | "豆知識" 角括弧内の内部の型は「型パラメータ」と呼ばれています。 この場合、`str`は`List`に渡される型パラメータです。 /// つまり: 変数`items`は`list`であり、このリストの各項目は`str`です。 そうすることで、エディタはリストの項目を処理している間にもサポートを提供できます。 <img src="https://fastapi.tiangolo.com/img/python-types/image05.png"> タイプがなければ、それはほぼ不可能です。 変数`item`はリスト`items`の要素の一つであることに注意してください。 それでも、エディタはそれが`str`であることを知っていて、そのためのサポートを提供しています。 #### `Tuple` と `Set`
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 11.8K bytes - Viewed (0) -
docs_src/extra_data_types/tutorial001_an_py310.py
from datetime import datetime, time, timedelta from typing import Annotated from uuid import UUID from fastapi import Body, FastAPI app = FastAPI() @app.put("/items/{item_id}") async def read_items( item_id: UUID, start_datetime: Annotated[datetime, Body()], end_datetime: Annotated[datetime, Body()], process_after: Annotated[timedelta, Body()], repeat_at: Annotated[time | None, Body()] = None, ):
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Apr 19 00:11:40 UTC 2024 - 788 bytes - Viewed (0) -
src/main/webapp/WEB-INF/view/admin/badword/admin_badword_upload.jsp
<ol class="breadcrumb float-sm-right"> <li class="breadcrumb-item active"><la:link href="/admin/badword"> <la:message key="labels.bad_word_link_list"/> </la:link></li> <li class="breadcrumb-item active"><la:message key="labels.bad_word_link_upload"/></li>
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 13 07:47:04 UTC 2020 - 5.4K bytes - Viewed (0) -
docs/em/docs/advanced/path-operation-advanced-configuration.md
```JSON hl_lines="22" { "openapi": "3.0.2", "info": { "title": "FastAPI", "version": "0.1.0" }, "paths": { "/items/": { "get": { "summary": "Read Items", "operationId": "read_items_items__get", "responses": { "200": { "description": "Successful Response",
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 5.7K bytes - Viewed (0) -
tests/test_tutorial/test_sql_databases/test_tutorial002.py
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Wed Oct 09 19:44:42 UTC 2024 - 19.9K bytes - Viewed (0) -
docs_src/handling_errors/tutorial004.py
@app.exception_handler(RequestValidationError) async def validation_exception_handler(request, exc): return PlainTextResponse(str(exc), 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.")
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Mar 26 19:09:53 UTC 2020 - 762 bytes - Viewed (0)