- Sort Score
- Num 10 results
- Language All
Results 61 - 70 of 2,916 for Path (0.07 seconds)
-
docs/ko/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md
# 경로 처리 데코레이터에서의 의존성 { #dependencies-in-path-operation-decorators } 몇몇 경우에는, *경로 처리 함수* 안에서 의존성의 반환 값이 필요하지 않습니다. 또는 의존성이 값을 반환하지 않습니다. 그러나 여전히 실행/해결될 필요가 있습니다. 그런 경우에, `Depends`를 사용하여 *경로 처리 함수*의 매개변수로 선언하는 대신 *경로 처리 데코레이터*에 `dependencies`의 `list`를 추가할 수 있습니다. ## *경로 처리 데코레이터*에 `dependencies` 추가하기 { #add-dependencies-to-the-path-operation-decorator } *경로 처리 데코레이터*는 선택적인 인자 `dependencies`를 받습니다. `Depends()`로 된 `list`이어야 합니다:Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:06:26 GMT 2026 - 3.4K bytes - Click Count (0) -
docs/zh/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md
# 路径操作装饰器依赖项 { #dependencies-in-path-operation-decorators } 有时,我们并不需要在*路径操作函数*中使用依赖项的返回值。 或者说,有些依赖项不返回值。 但仍要执行或解析该依赖项。 对于这种情况,不必在声明*路径操作函数*的参数时使用 `Depends`,而是可以在*路径操作装饰器*中添加一个由 `dependencies` 组成的 `list`。 ## 在*路径操作装饰器*中添加 `dependencies` 参数 { #add-dependencies-to-the-path-operation-decorator } *路径操作装饰器*支持可选参数 `dependencies`。 该参数的值是由 `Depends()` 组成的 `list`: {* ../../docs_src/dependencies/tutorial006_an_py310.py hl[19] *}Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:06:37 GMT 2026 - 2.8K bytes - Click Count (0) -
docs/pt/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md
# Dependências em decoradores de operações de rota { #dependencies-in-path-operation-decorators } Em alguns casos você não precisa necessariamente do valor de retorno de uma dependência dentro de uma *função de operação de rota*. Ou a dependência não retorna nenhum valor. Mas você ainda precisa que ela seja executada/resolvida.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:20:43 GMT 2026 - 3.3K bytes - Click Count (0) -
docs/zh-hant/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md
# 路徑操作裝飾器中的依賴 { #dependencies-in-path-operation-decorators } 有時在你的路徑操作函式中,其實不需要某個依賴的回傳值。 或是該依賴根本沒有回傳值。 但你仍需要它被執行/解析。 這種情況下,你可以不在路徑操作函式的參數上使用 `Depends`,而是在路徑操作裝飾器加入一個 `dependencies` 的 `list`。 ## 在路徑操作裝飾器加入 `dependencies` { #add-dependencies-to-the-path-operation-decorator } 路徑操作裝飾器可接受一個可選參數 `dependencies`。 它應該是由 `Depends()` 組成的 `list`: {* ../../docs_src/dependencies/tutorial006_an_py310.py hl[19] *}Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 2.7K bytes - Click Count (0) -
docs/tr/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md
# Path Operation Decorator'lerinde Dependency'ler { #dependencies-in-path-operation-decorators } Bazı durumlarda bir dependency'nin döndürdüğü değere *path operation function* içinde gerçekten ihtiyacınız olmaz. Ya da dependency zaten bir değer döndürmüyordur. Ancak yine de çalıştırılmasını/çözülmesini istersiniz.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 07:53:17 GMT 2026 - 3.3K bytes - Click Count (0) -
docs/ru/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md
# Зависимости в декораторах операции пути { #dependencies-in-path-operation-decorators } В некоторых случаях, возвращаемое значение зависимости не используется внутри *функции операции пути*. Или же зависимость не возвращает никакого значения. Но вам всё-таки нужно, чтобы она выполнилась. Для таких ситуаций, вместо объявления *функции операции пути* с параметром `Depends`, вы можете добавить список зависимостей `dependencies` в *декоратор операции пути*.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:56:20 GMT 2026 - 5K bytes - Click Count (0) -
docs/fr/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md
# Gérer les dépendances dans les décorateurs de chemins d'accès { #dependencies-in-path-operation-decorators } Dans certains cas, vous n'avez pas vraiment besoin de la valeur de retour d'une dépendance dans votre *fonction de chemin d'accès*. Ou la dépendance ne retourne aucune valeur. Mais vous avez quand même besoin qu'elle soit exécutée/résolue.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:37:13 GMT 2026 - 3.5K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/mylasta/action/FessHtmlPath.java
/** The path of the HTML: /error/busy.jsp */ HtmlNext path_Error_BusyJsp = new HtmlNext("/error/busy.jsp"); /** The path of the HTML: /error/error.jsp */ HtmlNext path_Error_ErrorJsp = new HtmlNext("/error/error.jsp"); /** The path of the HTML: /error/notFound.jsp */ HtmlNext path_Error_NotFoundJsp = new HtmlNext("/error/notFound.jsp"); /** The path of the HTML: /error/redirect.jsp */Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Tue Feb 10 04:24:02 GMT 2026 - 26.5K bytes - Click Count (0) -
tests/test_request_params/test_header/test_optional_str.py
client = TestClient(app) response = client.get(path, headers={"p": "hello"}) assert response.status_code == 200 assert response.json() == {"p": None} @pytest.mark.parametrize( "path", [ "/optional-alias", "/model-optional-alias", ], ) def test_optional_alias_by_alias(path: str): client = TestClient(app)
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 17 09:59:14 GMT 2026 - 8.5K bytes - Click Count (0) -
tests/test_request_params/test_header/test_required_str.py
async def read_model_required_str(p: Annotated[HeaderModelRequiredStr, Header()]): return {"p": p.p} @pytest.mark.parametrize( "path", ["/required-str", "/model-required-str"], ) def test_required_str_schema(path: str): assert app.openapi()["paths"][path]["get"]["parameters"] == snapshot( [ { "required": True, "schema": {"title": "P", "type": "string"},
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Feb 08 10:18:38 GMT 2026 - 10.3K bytes - Click Count (0)