Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 371 - 380 of 718 for dependentes (0.05 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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 = false
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Feb 03 22:17:59 GMT 2026
    - 335 bytes
    - Click Count (0)
  6. 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)
  7. 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)
  8. 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"))
                }
            }
        }
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Jan 22 14:28:13 GMT 2025
    - 699 bytes
    - Click Count (0)
  9. samples/tlssurvey/build.gradle.kts

      id("okhttp.quality-conventions")
      id("okhttp.testing-conventions")
      application
      id("com.google.devtools.ksp")
    }
    
    application {
      mainClass.set("okhttp3.survey.RunSurveyKt")
    }
    
    dependencies {
      implementation(projects.okhttp)
      implementation(projects.okhttpCoroutines)
      implementation(libs.conscrypt.openjdk)
    
      implementation(libs.square.retrofit)
      implementation(libs.square.retrofit.converter.moshi)
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Feb 03 22:17:59 GMT 2026
    - 636 bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/helper/JobHelperTest.java

            } catch (ScheduledJobException e) {
                assertEquals("scheduledJob parameter is null. Cannot register a null job.", e.getMessage());
            } catch (Exception e) {
                // Expected due to missing dependencies in test environment
                assertTrue(true);
            }
        }
    
        @Test
        public void test_register_with_cron_null_scheduledJob() {
            try {
                LaCron mockCron = new MockLaCron();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 6.5K bytes
    - Click Count (0)
Back to Top