- Sort Score
- Result 10 results
- Languages All
Results 291 - 300 of 704 for tabs (0.03 sec)
-
docs_src/path_operation_configuration/tutorial004_py310.py
from fastapi import FastAPI from pydantic import BaseModel app = FastAPI() class Item(BaseModel): name: str description: str | None = None price: float tax: float | None = None tags: set[str] = set() @app.post("/items/", response_model=Item, summary="Create an item") async def create_item(item: Item): """ Create an item with all the information: - **name**: each item must have a name
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jan 07 14:11:31 UTC 2022 - 638 bytes - Viewed (0) -
docs/pt/docs/tutorial/cookie-params.md
## Importe `Cookie` Primeiro importe `Cookie`: //// tab | Python 3.10+ ```Python hl_lines="3" {!> ../../docs_src/cookie_params/tutorial001_an_py310.py!} ``` //// //// tab | Python 3.9+ ```Python hl_lines="3" {!> ../../docs_src/cookie_params/tutorial001_an_py39.py!} ``` //// //// tab | Python 3.8+ ```Python hl_lines="3"
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 2.4K bytes - Viewed (0) -
docs/ru/docs/tutorial/extra-models.md
Ниже изложена основная идея того, как могут выглядеть эти модели с полями для паролей, а также описаны места, где они используются: //// tab | Python 3.10+ ```Python hl_lines="7 9 14 20 22 27-28 31-33 38-39" {!> ../../docs_src/extra_models/tutorial001_py310.py!} ``` //// //// tab | Python 3.8+ ```Python hl_lines="9 11 16 22 24 29-30 33-35 40-41" {!> ../../docs_src/extra_models/tutorial001.py!} ```
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 11.5K bytes - Viewed (0) -
docs/pt/docs/tutorial/extra-models.md
Aqui está uma ideia geral de como os modelos poderiam parecer com seus campos de senha e os lugares onde são usados: //// tab | Python 3.8 and above ```Python hl_lines="9 11 16 22 24 29-30 33-35 40-41" {!> ../../docs_src/extra_models/tutorial001.py!} ``` //// //// tab | Python 3.10 and above ```Python hl_lines="7 9 14 20 22 27-28 31-33 38-39" {!> ../../docs_src/extra_models/tutorial001_py310.py!}
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 7.8K bytes - Viewed (0) -
docs/pt/docs/advanced/security/http-basic-auth.md
* Isto contém o `username` e o `password` enviado. //// tab | Python 3.9+ ```Python hl_lines="4 8 12" {!> ../../docs_src/security/tutorial006_an_py39.py!} ``` //// //// tab | Python 3.8+ ```Python hl_lines="2 7 11" {!> ../../docs_src/security/tutorial006_an.py!} ``` //// //// tab | Python 3.8+ non-Annotated /// tip | "Dica"
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 6.2K bytes - Viewed (0) -
docs/de/docs/tutorial/dependencies/global-dependencies.md
In diesem Fall werden sie auf alle *Pfadoperationen* in der Anwendung angewendet: //// tab | Python 3.9+ ```Python hl_lines="16" {!> ../../docs_src/dependencies/tutorial012_an_py39.py!} ``` //// //// tab | Python 3.8+ ```Python hl_lines="16" {!> ../../docs_src/dependencies/tutorial012_an.py!} ``` //// //// tab | Python 3.8 nicht annotiert /// tip | "Tipp"
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 1.5K bytes - Viewed (0) -
docs/en/docs/tutorial/query-params.md
## Optional parameters The same way, you can declare optional query parameters, by setting their default to `None`: //// tab | Python 3.10+ ```Python hl_lines="7" {!> ../../docs_src/query_params/tutorial002_py310.py!} ``` //// //// tab | Python 3.8+ ```Python hl_lines="9" {!> ../../docs_src/query_params/tutorial002.py!} ``` ////
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 5.1K bytes - Viewed (0) -
docs/zh/docs/tutorial/path-operation-configuration.md
/// note | "技术细节" 也可以使用 `from starlette import status` 导入状态码。 **FastAPI** 的`fastapi.status` 和 `starlette.status` 一样,只是快捷方式。实际上,`fastapi.status` 直接继承自 Starlette。 /// ## `tags` 参数 `tags` 参数的值是由 `str` 组成的 `list` (一般只有一个 `str` ),`tags` 用于为*路径操作*添加标签: ```Python hl_lines="17 22 27" {!../../docs_src/path_operation_configuration/tutorial002.py!} ``` OpenAPI 概图会自动添加标签,供 API 文档接口使用:
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 3.3K bytes - Viewed (0) -
src/bytes/reader.go
r.prevRune = -1 var abs int64 switch whence { case io.SeekStart: abs = offset case io.SeekCurrent: abs = r.i + offset case io.SeekEnd: abs = int64(len(r.s)) + offset default: return 0, errors.New("bytes.Reader.Seek: invalid whence") } if abs < 0 { return 0, errors.New("bytes.Reader.Seek: negative position") } r.i = abs return abs, nil }
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Tue Jul 16 18:17:37 UTC 2024 - 3.9K bytes - Viewed (0) -
docs/tr/docs/how-to/general.md
## Dokümantasyon Etiketleri - OpenAPI *Yol operasyonlarınıza* etiketler ekleyerek dokümantasyon arayüzünde gruplar halinde görünmesini sağlamak için, [Tutorial - Path Operation Configurations - Tags](../tutorial/path-operation-configuration.md#tags){.internal-link target=_blank} sayfasını okuyun. ## Dokümantasyon Özeti ve Açıklaması - OpenAPI
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Mon May 27 16:20:52 UTC 2024 - 2.6K bytes - Viewed (0)