- Sort Score
- Result 10 results
- Languages All
Results 21 - 29 of 29 for sync (1.85 sec)
-
docs/fa/docs/index.md
``` <details markdown="1"> <summary>همچنین میتوانید از <code>async def</code>... نیز استفاده کنید</summary> اگر در کدتان از `async` / `await` استفاده میکنید، از `async def` برای تعریف تابع خود استفاده کنید: ```Python hl_lines="9 14" from typing import Optional from fastapi import FastAPI app = FastAPI() @app.get("/") async def read_root(): return {"Hello": "World"}
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 23:58:47 GMT 2024 - 25.9K bytes - Viewed (0) -
docs/en/docs/tutorial/dependencies/index.md
## To `async` or not to `async` As dependencies will also be called by **FastAPI** (the same as your *path operation functions*), the same rules apply while defining your functions. You can use `async def` or normal `def`. And you can declare dependencies with `async def` inside of normal `def` *path operation functions*, or `def` dependencies inside of `async def` *path operation functions*, etc.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 11.6K bytes - Viewed (0) -
docs/em/docs/tutorial/dependencies/index.md
## `async` ⚖️ 🚫 `async` 🔗 🔜 🤙 **FastAPI** (🎏 👆 *➡ 🛠️ 🔢*), 🎏 🚫 ✔ ⏪ 🔬 👆 🔢. 👆 💪 ⚙️ `async def` ⚖️ 😐 `def`. & 👆 💪 📣 🔗 ⏮️ `async def` 🔘 😐 `def` *➡ 🛠️ 🔢*, ⚖️ `def` 🔗 🔘 `async def` *➡ 🛠️ 🔢*, ♒️. ⚫️ 🚫 🤔. **FastAPI** 🔜 💭 ⚫️❔. !!! note 🚥 👆 🚫 💭, ✅ [🔁: *"🏃 ❓" *](../../async.md){.internal-link target=_blank} 📄 🔃 `async` & `await` 🩺.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Jun 24 14:47:15 GMT 2023 - 6.7K bytes - Viewed (0) -
docs/ko/docs/tutorial/dependencies/index.md
## `async`하게, 혹은 `async`하지 않게 의존성이 (*경로 작동 함수*에서 처럼 똑같이) **FastAPI**에 의해 호출될 수 있으며, 함수를 정의할 때 동일한 규칙이 적용됩니다. `async def`을 사용하거나 혹은 일반적인 `def`를 사용할 수 있습니다. 그리고 일반적인 `def` *경로 작동 함수* 안에 `async def`로 의존성을 선언할 수 있으며, `async def` *경로 작동 함수* 안에 `def`로 의존성을 선언하는 등의 방법이 있습니다. 아무 문제 없습니다. **FastAPI**는 무엇을 할지 알고 있습니다. !!! note "참고"
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 13.6K bytes - Viewed (0) -
docs/pt/docs/index.md
<details markdown="1"> <summary>Ou use <code>async def</code>...</summary> Se seu código utiliza `async` / `await`, use `async def`: ```Python hl_lines="9 14" from typing import Union from fastapi import FastAPI app = FastAPI() @app.get("/") async def read_root(): return {"Hello": "World"} @app.get("/items/{item_id}") async def read_item(item_id: int, q: Union[str, None] = None):
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
``` <details markdown="1"> <summary>Və ya <code>async def</code>...</summary> Əgər kodunuzda `async` və ya `await` vardırsa `async def` istifadə edə bilərik: ```Python hl_lines="9 14" from typing import Union from fastapi import FastAPI app = FastAPI() @app.get("/") async def read_root(): return {"Hello": "World"} @app.get("/items/{item_id}")
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
<details markdown="1"> <summary>Hoặc sử dụng <code>async def</code>...</summary> Nếu code của bạn sử dụng `async` / `await`, hãy sử dụng `async def`: ```Python hl_lines="9 14" from typing import Union from fastapi import FastAPI app = FastAPI() @app.get("/") async def read_root(): return {"Hello": "World"} @app.get("/items/{item_id}")
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
<details markdown="1"> <summary>Tàbí lò <code>async def</code>...</summary> Tí kóòdù rẹ̀ bá ń lò `async` / `await`, lò `async def`: ```Python hl_lines="9 14" from typing import Union from fastapi import FastAPI app = FastAPI() @app.get("/") async def read_root(): return {"Hello": "World"} @app.get("/items/{item_id}") async def read_item(item_id: int, q: Union[str, None] = None):
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
``` <details markdown="1"> <summary>または<code>async def</code>を使います...</summary> `async` / `await`を使用するときは、 `async def`を使います: ```Python hl_lines="7 12" from fastapi import FastAPI app = FastAPI() @app.get("/") async def read_root(): return {"Hello": "World"} @app.get("/items/{item_id}") async def read_item(item_id: int, q: str = None):
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)