- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 33 for Read (0.14 sec)
-
docs/em/docs/index.md
### ✍ ⚫️ * ✍ 📁 `main.py` ⏮️: ```Python from typing import Union from fastapi import FastAPI app = FastAPI() @app.get("/") def read_root(): return {"Hello": "World"} @app.get("/items/{item_id}") def read_item(item_id: int, q: Union[str, None] = None): return {"item_id": item_id, "q": q} ``` <details markdown="1"> <summary>⚖️ ⚙️ <code>async def</code>...</summary>
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Thu Apr 18 23:58:47 GMT 2024 - 17.1K bytes - Viewed (0) -
docs/en/docs/tutorial/index.md
## Advanced User Guide There is also an **Advanced User Guide** that you can read later after this **Tutorial - User guide**. The **Advanced User Guide**, builds on this, uses the same concepts, and teaches you some extra features. But you should first read the **Tutorial - User Guide** (what you are reading right now).
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Sat Jun 24 14:47:15 GMT 2023 - 2.5K bytes - Viewed (0) -
docs/en/docs/index.md
* Create a file `main.py` with: ```Python from typing import Union from fastapi import FastAPI app = FastAPI() @app.get("/") def read_root(): return {"Hello": "World"} @app.get("/items/{item_id}") def read_item(item_id: int, q: Union[str, None] = None): return {"item_id": item_id, "q": q} ``` <details markdown="1"> <summary>Or use <code>async def</code>...</summary>
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Thu Apr 18 23:58:47 GMT 2024 - 19.2K bytes - Viewed (0) -
docs/he/docs/index.md
- צרו קובץ בשם `main.py` עם: ```Python from typing import Union from fastapi import FastAPI app = FastAPI() @app.get("/") def read_root(): return {"Hello": "World"} @app.get("/items/{item_id}") def read_item(item_id: int, q: Union[str, None] = None): return {"item_id": item_id, "q": q} ``` <details markdown="1">
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Thu Apr 18 23:58:47 GMT 2024 - 21.2K bytes - Viewed (0) -
docs/de/docs/index.md
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Sat Mar 30 20:28:17 GMT 2024 - 21.2K bytes - Viewed (0) -
docs/fa/docs/index.md
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Thu Apr 18 23:58:47 GMT 2024 - 25.9K bytes - Viewed (0) -
docs/en/docs/advanced/security/index.md
!!! tip The next sections are **not necessarily "advanced"**. And it's possible that for your use case, the solution is in one of them. ## Read the Tutorial first The next sections assume you already read the main [Tutorial - User Guide: Security](../../tutorial/security/index.md){.internal-link target=_blank}.
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Sun Mar 31 23:52:53 GMT 2024 - 633 bytes - Viewed (0) -
docs/zh/docs/tutorial/dependencies/index.md
接收到新的请求时,**FastAPI** 执行如下操作: * 用正确的参数调用依赖项函数(「可依赖项」) * 获取函数返回的结果 * 把函数返回的结果赋值给*路径操作函数*的参数 ```mermaid graph TB common_parameters(["common_parameters"]) read_items["/items/"] read_users["/users/"] common_parameters --> read_items common_parameters --> read_users ``` 这样,只编写一次代码,**FastAPI** 就可以为多个*路径操作*共享这段代码 。 !!! check "检查" 注意,无需创建专门的类,并将之传递给 **FastAPI** 以进行「注册」或执行类似的操作。
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Sat Jun 24 14:47:15 GMT 2023 - 7K bytes - Viewed (0) -
docs/en/docs/how-to/index.md
If something seems interesting and useful to your project, go ahead and check it, but otherwise, you might probably just skip them. !!! tip
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Sat Aug 19 19:54:04 GMT 2023 - 591 bytes - Viewed (0) -
docs/it/docs/index.md
* Crea un file `main.py` con: ```Python from fastapi import FastAPI from typing import Optional app = FastAPI() @app.get("/") def read_root(): return {"Hello": "World"} @app.get("/items/{item_id}") def read_item(item_id: int, q: str = Optional[None]): return {"item_id": item_id, "q": q} ``` <details markdown="1"> <summary>Oppure usa <code>async def</code>...</summary>
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Thu Apr 18 23:58:47 GMT 2024 - 19.3K bytes - Viewed (0)