- Sort Score
- Num 10 results
- Language All
Results 11 - 14 of 14 for contextmanager (0.1 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
docs/ko/docs/tutorial/dependencies/dependencies-with-yield.md
/// tip 각 의존성마다 `yield`는 한 번만 사용해야 합니다. /// /// note | 기술 세부사항 다음과 함께 사용할 수 있는 모든 함수: * [`@contextlib.contextmanager`](https://docs.python.org/3/library/contextlib.html#contextlib.contextmanager) 또는 * [`@contextlib.asynccontextmanager`](https://docs.python.org/3/library/contextlib.html#contextlib.asynccontextmanager) 는 **FastAPI**의 의존성으로 사용할 수 있습니다.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:06:26 GMT 2026 - 14.3K bytes - Click Count (0) -
docs/ja/docs/tutorial/dependencies/dependencies-with-yield.md
これを行うには、`return`の代わりに`yield`を使い、その後に追加のステップ(コード)を書きます。 /// tip | 豆知識 `yield`は必ず依存関係ごとに1回だけ使用するようにしてください。 /// /// note | 技術詳細 以下と一緒に使用できる関数なら何でも有効です: * [`@contextlib.contextmanager`](https://docs.python.org/3/library/contextlib.html#contextlib.contextmanager) または * [`@contextlib.asynccontextmanager`](https://docs.python.org/3/library/contextlib.html#contextlib.asynccontextmanager) これらは **FastAPI** の依存関係として使用するのに有効です。
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:07:17 GMT 2026 - 15.4K bytes - Click Count (0) -
docs/de/docs/_llm-test.md
* das Software Development Kit * der `APIRouter` * die `requirements.txt` * das Bearer-Token * der Breaking Change * der Bug * der Button * das Callable * der Code * der Commit * der Contextmanager * die Coroutine * die Datenbanksession * die Festplatte * die Domain * die Engine * das Fake-X * die HTTP-GET-Methode * das Item * die Bibliothek * der Lifespan * der Lock
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:58:09 GMT 2026 - 12.3K bytes - Click Count (0) -
fastapi/routing.py
""" Wrap a generator-based lifespan context into an async context manager. This is vendored from Starlette to avoid importing private symbols. """ cmgr = contextlib.contextmanager(lifespan_context) @functools.wraps(cmgr) def wrapper(app: Any) -> _AsyncLiftContextManager[Any]: return _AsyncLiftContextManager(cmgr(app)) return wrapperCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Mar 15 11:44:39 GMT 2026 - 193K bytes - Click Count (0)