- Sort Score
- Num 10 results
- Language All
Results 481 - 490 of 855 for Dependencias (0.07 seconds)
-
docs_src/dependencies/tutorial006_an_py310.py
async def verify_key(x_key: Annotated[str, Header()]): if x_key != "fake-super-secret-key": raise HTTPException(status_code=400, detail="X-Key header invalid") return x_key @app.get("/items/", dependencies=[Depends(verify_token), Depends(verify_key)]) async def read_items():
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 633 bytes - Click Count (0) -
samples/guide/build.gradle.kts
plugins { kotlin("jvm") id("okhttp.jvm-conventions") id("okhttp.quality-conventions") id("okhttp.testing-conventions") id("com.google.devtools.ksp") } dependencies { "friendsImplementation"(projects.okhttp) implementation(projects.mockwebserver) implementation(projects.okhttpTestingSupport) implementation(projects.okhttpTls) implementation(libs.animalsniffer.annotations) implementation(libs.square.moshi)Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Feb 03 22:17:59 GMT 2026 - 569 bytes - Click Count (0) -
okhttp-logging-interceptor/build.gradle.kts
id("okhttp.testing-conventions") } project.applyOsgi( "Export-Package: okhttp3.logging", "Bundle-SymbolicName: com.squareup.okhttp3.logging", ) project.applyJavaModules("okhttp3.logging") dependencies { "friendsApi"(projects.okhttp) testImplementation(libs.junit) testImplementation(projects.mockwebserver3) testImplementation(projects.mockwebserver3Junit5) testImplementation(projects.okhttpTestingSupport)
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Feb 03 22:17:59 GMT 2026 - 633 bytes - Click Count (0) -
.teamcity/src/main/kotlin/util/WarmupEc2Agent.kt
params { param("defaultBranchName", "master") param("env.JAVA_HOME", javaHome(BuildToolBuildJvm, Os.LINUX)) } steps { gradleWrapper { name = "Resolve all dependencies" tasks = "resolveAllDependencies" gradleParams = ( buildToolGradleParameters(isContinue = false) + listOf("--dependency-verification", "lenient")Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed Feb 12 09:12:03 GMT 2025 - 1.2K bytes - Click Count (0) -
docs/en/docs/reference/request.md
You can import it directly from `fastapi`: ```python from fastapi import Request ``` /// tip When you want to define dependencies that should be compatible with both HTTP and WebSockets, you can define a parameter that takes an `HTTPConnection` instead of a `Request` or a `WebSocket`. ///
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Feb 04 12:41:54 GMT 2026 - 652 bytes - Click Count (0) -
docs/ko/docs/advanced/security/oauth2-scopes.md
/// **FastAPI**는 `fastapi.security.oauth2`에 이러한 모든 OAuth2 인증 플로우를 위한 유틸리티를 포함합니다. ## 데코레이터 `dependencies`에서의 `Security` { #security-in-decorator-dependencies }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:06:26 GMT 2026 - 15.7K bytes - Click Count (0) -
tests/test_response_change_status_code.py
app = FastAPI() async def response_status_setter(response: Response): response.status_code = 201 async def parent_dep(result=Depends(response_status_setter)): return result @app.get("/", dependencies=[Depends(parent_dep)]) async def get_main(): return {"msg": "Hello World"} client = TestClient(app) def test_dependency_set_status_code(): response = client.get("/")
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Apr 08 04:37:38 GMT 2020 - 589 bytes - Click Count (0) -
samples/crawler/build.gradle.kts
plugins { kotlin("jvm") id("okhttp.jvm-conventions") id("okhttp.quality-conventions") id("okhttp.testing-conventions") application } application { mainClass.set("okhttp3.sample.Crawler") } dependencies { implementation(projects.okhttp) implementation(libs.jsoup) } tasks.compileJava { options.isWarnings = falseCreated: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Feb 03 22:17:59 GMT 2026 - 335 bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/JdkDownloadPlugin.java
Jdk jdk = new Jdk(name, configuration, project.getObjects()); configuration.defaultDependencies(dependencies -> { jdk.finalizeValues(); setupRepository(project, jdk); dependencies.add(project.getDependencies().create(dependencyNotation(jdk))); }); return jdk; });
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Mon Sep 27 19:29:10 GMT 2021 - 7.6K bytes - Click Count (0) -
okhttp-zstd/build.gradle.kts
id("okhttp.testing-conventions") } project.applyOsgi( "Export-Package: okhttp3.zstd", "Automatic-Module-Name: okhttp3.zstd", "Bundle-SymbolicName: com.squareup.okhttp3.zstd", ) dependencies { "friendsApi"(projects.okhttp) implementation(libs.square.zstd.kmp.okio) testImplementation(projects.okhttpBrotli) testImplementation(projects.okhttpTestingSupport)
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Feb 03 22:17:59 GMT 2026 - 630 bytes - Click Count (0)