- Sort Score
- Result 10 results
- Languages All
Results 281 - 290 of 626 for dependencies (0.1 sec)
-
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("/")
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Wed Apr 08 04:37:38 UTC 2020 - 589 bytes - Viewed (0) -
okhttp-java-net-cookiejar/build.gradle.kts
} project.applyOsgi( "Export-Package: okhttp3.java.net.cookiejar", "Automatic-Module-Name: okhttp3.java.net.cookiejar", "Bundle-SymbolicName: com.squareup.okhttp3.java.net.cookiejar" ) dependencies { api(projects.okhttp) compileOnly(libs.findbugs.jsr305) compileOnly(libs.animalsniffer.annotations) } mavenPublishing { configure(KotlinJvm(javadocJar = JavadocJar.Empty()))
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Nov 20 16:20:29 UTC 2023 - 621 bytes - Viewed (0) -
build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.java-shared-runtime.gradle.kts
sourceCompatibility = JavaVersion.VERSION_1_8 targetCompatibility = JavaVersion.VERSION_1_8 } testing { suites { val test by getting(JvmTestSuite::class) { useSpock() dependencies { implementation(platform("gradlebuild:build-platform")) } } }
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Mon Sep 30 15:18:07 UTC 2024 - 779 bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/ArtifactResolutionRequest.java
* to process a POMs dependencies. * */ @Deprecated public class ArtifactResolutionRequest implements RepositoryRequest { private static final String LS = System.lineSeparator(); private Artifact artifact; // Needs to go away // These are really overrides now, projects defining dependencies for a plugin that override what is // specified in the plugin itself.
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 8.2K bytes - Viewed (0) -
okhttp-idna-mapping-table/build.gradle.kts
plugins { kotlin("jvm") id("ru.vyarus.animalsniffer") } dependencies { api(libs.squareup.okio) api(libs.squareup.kotlinPoet) testImplementation(libs.assertk) testImplementation(libs.junit.jupiter.api) testImplementation(libs.junit.jupiter.params) } animalsniffer { isIgnoreFailures = true
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Tue May 02 11:21:58 UTC 2023 - 309 bytes - Viewed (0) -
README.md
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Oct 31 09:13:26 UTC 2024 - 23.6K bytes - Viewed (0) -
docs/en/docs/tutorial/index.md
```console $ pip install "fastapi[standard]" ---> 100% ``` </div> /// note When you install with `pip install "fastapi[standard]"` it comes with some default optional standard dependencies. If you don't want to have those optional dependencies, you can instead install `pip install fastapi`. /// ## Advanced User Guide There is also an **Advanced User Guide** that you can read later after this **Tutorial - User guide**.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Aug 24 21:52:09 UTC 2024 - 6K bytes - Viewed (0) -
okhttp-logging-interceptor/build.gradle.kts
id("binary-compatibility-validator") } project.applyOsgi( "Export-Package: okhttp3.logging", "Automatic-Module-Name: okhttp3.logging", "Bundle-SymbolicName: com.squareup.okhttp3.logging" ) dependencies { api(projects.okhttp) compileOnly(libs.findbugs.jsr305) testCompileOnly(libs.findbugs.jsr305) testImplementation(libs.junit) testImplementation(projects.mockwebserver3)
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Thu Jan 04 05:32:07 UTC 2024 - 842 bytes - Viewed (0) -
docs_src/dependencies/tutorial006.py
async def verify_key(x_key: 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():
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri May 13 23:38:22 UTC 2022 - 583 bytes - Viewed (0) -
build-logic-commons/basics/build.gradle.kts
plugins { `kotlin-dsl` } description = "Provides plugins for configuring miscellaneous things (repositories, reproducibility, minify)" group = "gradlebuild" dependencies { api("gradlebuild:build-environment") api(platform(projects.buildPlatform)) implementation("com.google.guava:guava") { because("Used by class analysis") } implementation("org.ow2.asm:asm") { because("Used by class analysis")
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Tue Sep 17 10:11:26 UTC 2024 - 893 bytes - Viewed (0)