- Sort Score
- Num 10 results
- Language All
Results 211 - 220 of 736 for depende (0.06 seconds)
-
docs/tr/docs/advanced/websockets.md
<img src="/img/tutorial/websockets/image04.png"> Ve hepsinde aynı WebSocket bağlantısı kullanılacaktır. ## `Depends` ve Diğerlerini Kullanma { #using-depends-and-others } WebSocket endpoint'lerinde `fastapi` içinden import edip şunları kullanabilirsiniz: * `Depends` * `Security` * `Cookie` * `Header` * `Path` * `Query`
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 07:53:17 GMT 2026 - 5.9K bytes - Click Count (0) -
compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t09/ProjectInheritanceTest.java
* * 1. dependencyManagement lists dependencies on a & b, * with an exclusion on c in b. * 2. the child project lists a dependency on project a only * 3. a depends on b (which is transitive to the child project), * and b depends on c. * * We should see that the resulting size of collected artifacts is two: * a & b only. */ @TestCreated: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Jul 23 17:27:08 GMT 2025 - 5K bytes - Click Count (0) -
docs/ko/docs/tutorial/security/get-current-user.md
## 현재 사용자 주입하기 { #inject-the-current-user } 이제 *경로 처리*에서 `get_current_user`와 함께 같은 `Depends`를 사용할 수 있습니다: {* ../../docs_src/security/tutorial002_an_py310.py hl[31] *} `current_user`의 타입을 Pydantic 모델 `User`로 선언한다는 점에 주목하세요. 이는 함수 내부에서 자동 완성과 타입 체크에 도움을 줍니다. /// tip | 팁 요청 본문도 Pydantic 모델로 선언된다는 것을 기억하실지도 모릅니다. 여기서 **FastAPI**는 `Depends`를 사용하고 있기 때문에 혼동하지 않습니다. /// /// check | 확인Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Feb 14 08:57:01 GMT 2026 - 4.9K bytes - Click Count (0) -
docs/uk/docs/tutorial/security/get-current-user.md
{* ../../docs_src/security/tutorial002_an_py310.py hl[19:22,26:27] *} ## Впровадити поточного користувача { #inject-the-current-user } Тепер ми можемо використати той самий `Depends` з нашим `get_current_user` в операції шляху: {* ../../docs_src/security/tutorial002_an_py310.py hl[31] *} Зверніть увагу, що ми оголошуємо тип `current_user` як Pydantic-модель `User`.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Feb 14 08:43:14 GMT 2026 - 6.7K bytes - Click Count (0) -
tests/test_security_oauth2_optional.py
return None user = User(username=oauth_header) return user @app.post("/login") def login(form_data: OAuth2PasswordRequestFormStrict = Depends()): return form_data @app.get("/users/me") def read_users_me(current_user: User | None = Depends(get_current_user)): if current_user is None: return {"msg": "Create an account first"} return current_user client = TestClient(app)Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 17 09:59:14 GMT 2026 - 9.8K bytes - Click Count (0) -
docs/uk/docs/advanced/websockets.md
<img src="/img/tutorial/websockets/image04.png"> І всі вони використовуватимуть те саме з'єднання WebSocket. ## Використання `Depends` та іншого { #using-depends-and-others } У кінцевих точках WebSocket ви можете імпортувати з `fastapi` і використовувати: * `Depends` * `Security` * `Cookie` * `Header` * `Path` * `Query` Вони працюють так само, як для інших ендпойнтів FastAPI/*операцій шляху*:
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:27:41 GMT 2026 - 7.9K bytes - Click Count (0) -
docs/zh/docs/tutorial/dependencies/sub-dependencies.md
在高级使用场景中,如果不想使用「缓存」值,而是为需要在同一请求的每一步操作(多次)中都实际调用依赖项,可以把 `Depends` 的参数 `use_cache` 的值设置为 `False`: //// tab | Python 3.10+ ```Python hl_lines="1" async def needy_dependency(fresh_value: Annotated[str, Depends(get_value, use_cache=False)]): return {"fresh_value": fresh_value} ``` //// //// tab | Python 3.10+ 非 Annotated /// tip | 提示
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Feb 13 13:37:57 GMT 2026 - 3.8K bytes - Click Count (0) -
module-tests/src/test/java/okhttp3/modules/test/JavaModuleTest.java
// Just check we can run code that depends on OkHttp types OkHttpCaller.callOkHttp(HttpUrl.get("https://square.com/robots.txt")); } @Test public void testMockWebServer() throws IOException { MockWebServer server = new MockWebServer(); server.enqueue(new MockResponse(200, Headers.of(), "Hello, Java9!")); server.start(); // Just check we can run code that depends on OkHttp typesCreated: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Sep 21 06:22:22 GMT 2025 - 2.1K bytes - Click Count (0) -
docs/en/docs/advanced/websockets.md
<img src="/img/tutorial/websockets/image04.png"> And all of them will use the same WebSocket connection. ## Using `Depends` and others { #using-depends-and-others } In WebSocket endpoints you can import from `fastapi` and use: * `Depends` * `Security` * `Cookie` * `Header` * `Path` * `Query` They work the same way as for other FastAPI endpoints/*path operations*:
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Mar 07 09:29:03 GMT 2026 - 5.3K bytes - Click Count (0) -
docs/ru/docs/advanced/websockets.md
<img src="/img/tutorial/websockets/image04.png"> И все они будут использовать одно и то же веб-сокет соединение. ## Использование `Depends` и не только { #using-depends-and-others } Вы можете импортировать из `fastapi` и использовать в эндпоинте вебсокета: * `Depends` * `Security` * `Cookie` * `Header` * `Path` * `Query` Они работают так же, как и в других FastAPI эндпоинтах/*операциях пути*:
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:56:20 GMT 2026 - 8.2K bytes - Click Count (0)