- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 931 for get (0.01 seconds)
-
docs/ru/docs/tutorial/security/get-current-user.md
# Получить текущего пользователя { #get-current-user } В предыдущей главе система безопасности (основанная на системе внедрения зависимостей) передавала *функции-обработчику пути* `token` типа `str`: {* ../../docs_src/security/tutorial001_an_py39.py hl[12] *} Но это всё ещё не слишком полезно. Сделаем так, чтобы она возвращала текущего пользователя. ## Создать модель пользователя { #create-a-user-model }Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Tue Sep 30 11:24:39 GMT 2025 - 6.9K bytes - Click Count (0) -
docs/es/docs/tutorial/security/get-current-user.md
# Obtener Usuario Actual { #get-current-user } En el capítulo anterior, el sistema de seguridad (que se basa en el sistema de inyección de dependencias) le estaba dando a la *path operation function* un `token` como un `str`: {* ../../docs_src/security/tutorial001_an_py39.py hl[12] *} Pero eso aún no es tan útil. Vamos a hacer que nos dé el usuario actual. ## Crear un modelo de usuario { #create-a-user-model }Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Tue Dec 16 16:33:45 GMT 2025 - 4.4K bytes - Click Count (0) -
docs/pt/docs/tutorial/security/get-current-user.md
# Obter Usuário Atual { #get-current-user } No capítulo anterior, o sistema de segurança (que é baseado no sistema de injeção de dependências) estava fornecendo à *função de operação de rota* um `token` como uma `str`: {* ../../docs_src/security/tutorial001_an_py39.py hl[12] *} Mas isso ainda não é tão útil. Vamos fazer com que ele nos forneça o usuário atual. ## Criar um modelo de usuário { #create-a-user-model }Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Nov 12 16:23:57 GMT 2025 - 4.6K bytes - Click Count (0) -
tests/test_application.py
], ) def test_get_path(path, expected_status, expected_response): response = client.get(path) assert response.status_code == expected_status assert response.json() == expected_response def test_swagger_ui(): response = client.get("/docs") assert response.status_code == 200, response.text assert response.headers["content-type"] == "text/html; charset=utf-8"
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 18:19:10 GMT 2025 - 51.9K bytes - Click Count (0) -
build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/BuildParams.kt
val Project.isBuildCommitDistribution: Boolean get() = gradleProperty(BUILD_COMMIT_DISTRIBUTION).map { it.toBoolean() }.orElse(false).get() val Project.buildFinalRelease: Provider<String> get() = gradleProperty(BUILD_FINAL_RELEASE) val Project.buildId: Provider<String> get() = environmentVariable(BUILD_ID) val Project.buildRcNumber: Provider<String> get() = gradleProperty(BUILD_RC_NUMBER)Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Thu Dec 18 22:01:30 GMT 2025 - 17.7K bytes - Click Count (0) -
tests/test_dependency_wrapped.py
yield True @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/")Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 11.2K bytes - Click Count (0) -
tests/test_request_params/test_cookie/test_optional_str.py
# ===================================================================================== # Without aliases @app.get("/optional-str") async def read_optional_str(p: Annotated[Optional[str], Cookie()] = None): return {"p": p} class CookieModelOptionalStr(BaseModel): p: Optional[str] = None @app.get("/model-optional-str") async def read_model_optional_str(p: Annotated[CookieModelOptionalStr, Cookie()]):Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 18:19:10 GMT 2025 - 8.4K bytes - Click Count (0) -
tests/test_request_params/test_header/test_optional_list.py
# Without aliases @app.get("/optional-list-str") async def read_optional_list_str( p: Annotated[Optional[list[str]], Header()] = None, ): return {"p": p} class HeaderModelOptionalListStr(BaseModel): p: Optional[list[str]] = None @app.get("/model-optional-list-str") async def read_model_optional_list_str(Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 18:19:10 GMT 2025 - 9.3K bytes - Click Count (0) -
tests/test_request_params/test_query/test_list.py
# ===================================================================================== # Without aliases @app.get("/required-list-str") async def read_required_list_str(p: Annotated[list[str], Query()]): return {"p": p} class QueryModelRequiredListStr(BaseModel): p: list[str] @app.get("/model-required-list-str") def read_model_required_list_str(p: Annotated[QueryModelRequiredListStr, Query()]):Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 18:31:34 GMT 2025 - 10.9K bytes - Click Count (0) -
build-logic/buildquality/src/main/kotlin/gradlebuild.configure-ci-artifacts.gradle.kts
is ValidatePlugins -> listOf(outputFile.get().asFile) is FindBrokenInternalLinks -> listOf(reportFile.get().asFile) is DistributionTest -> listOf( gradleInstallationForTest.gradleUserHomeDir.dir("test-kit-daemon").get().asFile, gradleInstallationForTest.gradleUserHomeDir.dir("kotlin-compiler-daemon").get().asFile, gradleInstallationForTest.daemonRegistry.get().asFile ) else -> emptyList() }
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Wed Dec 24 14:15:15 GMT 2025 - 2.1K bytes - Click Count (0)