- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 267 for iter (0.27 sec)
-
docs/pt/docs/index.md
Experimente mudar a seguinte linha: ```Python return {"item_name": item.name, "item_id": item_id} ``` ...de: ```Python ... "item_name": item.name ... ``` ...para: ```Python ... "item_price": item.price ... ``` ...e veja como seu editor irá auto-completar os atributos e saberá os tipos:
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Mon Apr 29 05:18:04 GMT 2024 - 18.6K bytes - Viewed (0) -
docs/az/docs/index.md
İndi aşağıdakı sətri dəyişdirməyə çalışın: ```Python return {"item_name": item.name, "item_id": item_id} ``` ...bundan: ```Python ... "item_name": item.name ... ``` ...buna: ```Python ... "item_price": item.price ... ``` ...və redaktorun məlumat tiplərini bildiyini və avtomatik tamaladığını görəcəksiniz:
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Mon Apr 29 05:18:04 GMT 2024 - 22.8K bytes - Viewed (0) -
docs/vi/docs/index.md
Thử thay đổi dòng này: ```Python return {"item_name": item.name, "item_id": item_id} ``` ...từ: ```Python ... "item_name": item.name ... ``` ...sang: ```Python ... "item_price": item.price ... ``` ...và thấy trình soạn thảo của bạn nhận biết kiểu dữ liệu và gợi ý hoàn thiện các thuộc tính.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Mon Apr 29 05:18:04 GMT 2024 - 21.9K bytes - Viewed (0) -
docs/yo/docs/index.md
Gbiyanju láti yí ìlà padà pẹ̀lú: ```Python return {"item_name": item.name, "item_id": item_id} ``` ...láti: ```Python ... "item_name": item.name ... ``` ...ṣí: ```Python ... "item_price": item.price ... ``` .. kí o sì wo bí olóòtú rẹ yóò ṣe parí àwọn àbùdá náà fúnra rẹ̀, yóò sì mọ irúfẹ́ wọn:
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Mon Apr 29 05:18:04 GMT 2024 - 24.1K bytes - Viewed (0) -
docs/ja/docs/index.md
app = FastAPI() class Item(BaseModel): name: str price: float is_offer: bool = None @app.get("/") def read_root(): return {"Hello": "World"} @app.get("/items/{item_id}") def read_item(item_id: int, q: str = None): return {"item_id": item_id, "q": q} @app.put("/items/{item_id}") def update_item(item_id: int, item: Item):
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Mon Apr 29 05:18:04 GMT 2024 - 21K bytes - Viewed (0) -
docs/pt/docs/tutorial/path-operation-configuration.md
<img src="/img/tutorial/path-operation-configuration/image01.png"> ### Tags com Enums Se você tem uma grande aplicação, você pode acabar acumulando **várias tags**, e você gostaria de ter certeza de que você sempre usa a **mesma tag** para *operações de rota* relacionadas. Nestes casos, pode fazer sentido armazenar as tags em um `Enum`. **FastAPI** suporta isso da mesma maneira que com strings simples:
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Tue Oct 17 05:59:11 GMT 2023 - 5.9K bytes - Viewed (0) -
docs/de/docs/tutorial/body-multiple-params.md
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Mon Jan 29 17:32:43 GMT 2024 - 8.3K bytes - Viewed (0) -
docs/zh/docs/tutorial/body-multiple-params.md
!!! info `Body` 同样具有与 `Query`、`Path` 以及其他后面将看到的类完全相同的额外校验和元数据参数。 ## 嵌入单个请求体参数 假设你只有一个来自 Pydantic 模型 `Item` 的请求体参数 `item`。 默认情况下,**FastAPI** 将直接期望这样的请求体。 但是,如果你希望它期望一个拥有 `item` 键并在值中包含模型内容的 JSON,就像在声明额外的请求体参数时所做的那样,则可以使用一个特殊的 `Body` 参数 `embed`: ```Python item: Item = Body(embed=True) ``` 比如: === "Python 3.10+" ```Python hl_lines="17"
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Tue Oct 17 05:59:11 GMT 2023 - 7.6K bytes - Viewed (0) -
docs/de/docs/advanced/templates.md
## Templates erstellen Dann können Sie unter `templates/item.html` ein Template erstellen, mit z. B. folgendem Inhalt: ```jinja hl_lines="7" {!../../../docs_src/templates/templates/item.html!} ``` ### Template-Kontextwerte Im HTML, welches enthält: {% raw %} ```jinja Item ID: {{ id }} ``` {% endraw %}
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Mar 30 20:26:19 GMT 2024 - 3.6K bytes - Viewed (0) -
docs/integrations/veeam/README.md
- Since we selected Copy mode when creating the SOBR, the backup will be copied to the capacity tier as soon as it is created on the performance tier. - For Veeam Backup with Immutability, you can choose a number of restore points or days to make backups immutable.
Plain Text - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Sep 29 04:28:45 GMT 2022 - 5.4K bytes - Viewed (0)