- Sort Score
- Num 10 results
- Language All
Results 41 - 50 of 736 for depende (0.04 seconds)
-
docs/changelogs/changelog_4x.md
concurrently close an SSL socket. This would have appeared in crash logs as `NullPointerException: bio == null`. ## Version 4.9.0 _2020-09-11_ **With this release, `okhttp-tls` no longer depends on Bouncy Castle and doesn't install the Bouncy Castle security provider.** If you still need it, you can do it yourself: ``` Security.addProvider(BouncyCastleProvider()) ```Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Apr 17 13:25:31 GMT 2024 - 25.2K bytes - Click Count (0) -
tests/test_dependency_wrapped.py
@app.get("/wrapped-dependency/") async def get_wrapped_dependency(value: bool = Depends(wrapped_dependency)): return value @app.get("/wrapped-gen-dependency/") async def get_wrapped_gen_dependency(value: bool = Depends(wrapped_gen_dependency)): return value @app.get("/async-wrapped-dependency/") async def get_async_wrapped_dependency(value: bool = Depends(async_wrapped_dependency)): return value
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 11.2K bytes - Click Count (0) -
docs/fr/docs/tutorial/dependencies/classes-as-dependencies.md
## Annotation de type vs `Depends` { #type-annotation-vs-depends } Remarquez que nous écrivons `CommonQueryParams` deux fois dans le code ci‑dessus : //// tab | Python 3.10+ ```Python commons: Annotated[CommonQueryParams, Depends(CommonQueryParams)] ``` //// //// tab | Python 3.10+ sans Annotated /// tip | AstuceCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Feb 14 08:12:41 GMT 2026 - 7.5K bytes - Click Count (0) -
fastapi/.agents/skills/fastapi/references/dependencies.md
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Mar 01 10:05:57 GMT 2026 - 3.2K bytes - Click Count (0) -
docs/zh/docs/tutorial/dependencies/classes-as-dependencies.md
commons: Annotated[CommonQueryParams, Depends()] ``` //// //// tab | Python 3.10+ 未使用 Annotated /// tip | 提示 尽可能使用 `Annotated` 版本。 /// ```Python commons: CommonQueryParams = Depends() ``` //// 你声明依赖项作为参数的类型,并使用 `Depends()` 作为该函数的参数的 "默认" 值(在 `=` 之后),而在 `Depends()` 中没有任何参数,而不是在 `Depends(CommonQueryParams)` 中*再次*编写完整的类。 同样的例子看起来像这样:
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Feb 13 13:37:57 GMT 2026 - 6.8K bytes - Click Count (0) -
tests/test_dependency_partial.py
async def get_partial_function_dependency( value: Annotated[ str, Depends(partial(function_dependency, "partial-function-dependency")) ], ) -> str: return value @app.get("/partial-async-function-dependency") async def get_partial_async_function_dependency( value: Annotated[ str, Depends( partial(async_function_dependency, "partial-async-function-dependency") ),
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 6.3K bytes - Click Count (0) -
tests/test_dependency_overrides.py
async def decorator_depends(): return {"in": "decorator-depends"} @router.get("/router-depends/") async def router_depends(commons: dict = Depends(common_parameters)): return {"in": "router-depends", "params": commons} @router.get("/router-decorator-depends/", dependencies=[Depends(common_parameters)]) async def router_decorator_depends():
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 17 09:59:14 GMT 2026 - 11.2K bytes - Click Count (0) -
docs/ru/docs/tutorial/dependencies/classes-as-dependencies.md
## Аннотация типа и `Depends` { #type-annotation-vs-depends } Обратите внимание, что в приведенном выше коде мы два раза пишем `CommonQueryParams`: //// tab | Python 3.10+ ```Python commons: Annotated[CommonQueryParams, Depends(CommonQueryParams)] ``` //// //// tab | Python 3.10+ без Annotated /// tip | ПодсказкаCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 19:57:34 GMT 2026 - 10.7K bytes - Click Count (0) -
docs/ko/docs/tutorial/dependencies/classes-as-dependencies.md
```Python commons: Annotated[CommonQueryParams, Depends()] ``` //// //// tab | Python 3.10+ Annotated 미사용 /// tip | 팁 가능하다면 `Annotated` 버전을 사용하는 것을 권장합니다. /// ```Python commons: CommonQueryParams = Depends() ``` //// 의존성을 매개변수의 타입으로 선언하고, `Depends(CommonQueryParams)` 안에 클래스 전체를 *다시* 작성하는 대신 매개변수 없이 `Depends()`를 사용합니다. 그러면 같은 예제는 다음처럼 보일 겁니다:
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Feb 14 08:57:01 GMT 2026 - 8K bytes - Click Count (0) -
docs/es/docs/tutorial/dependencies/classes-as-dependencies.md
## Anotación de tipos vs `Depends` { #type-annotation-vs-depends } Nota cómo escribimos `CommonQueryParams` dos veces en el código anterior: //// tab | Python 3.10+ ```Python commons: Annotated[CommonQueryParams, Depends(CommonQueryParams)] ``` //// //// tab | Python 3.10+ sin `Annotated` /// tip | ConsejoCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Feb 13 13:41:41 GMT 2026 - 7.1K bytes - Click Count (0)