Search Options

Results per page
Sort
Preferred Languages
Advance

Results 301 - 310 of 583 for DEPENDENCIES (0.09 sec)

  1. docs_src/dependencies/tutorial012.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 = FastAPI(dependencies=[Depends(verify_token), Depends(verify_key)])
    
    
    @app.get("/items/")
    async def read_items():
        return [{"item": "Portal Gun"}, {"item": "Plumbus"}]
    
    
    @app.get("/users/")
    async def read_users():
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri May 13 23:38:22 UTC 2022
    - 696 bytes
    - Viewed (0)
  2. docs/en/docs/reference/httpconnection.md

    # `HTTPConnection` class
    
    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`.
    
    You can import it from `fastapi.requests`:
    
    ```python
    from fastapi.requests import HTTPConnection
    ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 359 bytes
    - Viewed (0)
  3. compat/maven-toolchain-model/pom.xml

        <relativePath>../../</relativePath>
      </parent>
    
      <artifactId>maven-toolchain-model</artifactId>
    
      <name>Maven Toolchain Model</name>
      <description>Maven Toolchain model.</description>
    
      <dependencies>
        <dependency>
          <groupId>org.apache.maven</groupId>
          <artifactId>maven-api-toolchain</artifactId>
        </dependency>
        <dependency>
          <groupId>org.apache.maven</groupId>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  4. okhttp-tls/build.gradle.kts

      id("ru.vyarus.animalsniffer")
    }
    
    project.applyOsgi(
      "Export-Package: okhttp3.tls",
      "Automatic-Module-Name: okhttp3.tls",
      "Bundle-SymbolicName: com.squareup.okhttp3.tls"
    )
    
    dependencies {
      api(libs.squareup.okio)
      implementation(projects.okhttp)
      compileOnly(libs.findbugs.jsr305)
      compileOnly(libs.animalsniffer.annotations)
    
      testImplementation(projects.okhttpTestingSupport)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 06 05:31:00 UTC 2024
    - 1K bytes
    - Viewed (0)
  5. compat/maven-model/src/test/resources/xml/pom.xml

        <version>4.0.0-alpha-1-SNAPSHOT</version>
      </parent>
    
      <artifactId>maven-model</artifactId>
    
      <name>Maven Model</name>
      <description>Model for Maven POM (Project Object Model)</description>
    
      <dependencies>
        <dependency>
          <groupId>org.apache.maven</groupId>
          <artifactId>maven-api-model</artifactId>
          <version>4.0.0-alpha-1-SNAPSHOT</version>
        </dependency>
        <dependency>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/graph/FilteredProjectDependencyGraph.java

         * to "pull in" transitive dependencies of eliminated projects, as for case above, the properly filtered list would
         * be {@code a -> c}.
         * <p>
         * Original code would falsely report {@code a} project as "without dependencies", basically would lose link due
         * filtering. This causes build ordering issues in concurrent builders.
         */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  7. okhttp-brotli/build.gradle.kts

      id("binary-compatibility-validator")
    }
    
    project.applyOsgi(
      "Export-Package: okhttp3.brotli",
      "Automatic-Module-Name: okhttp3.brotli",
      "Bundle-SymbolicName: com.squareup.okhttp3.brotli"
    )
    
    dependencies {
      api(projects.okhttp)
      api(libs.brotli.dec)
      compileOnly(libs.findbugs.jsr305)
    
      testImplementation(projects.okhttpTestingSupport)
      testImplementation(libs.conscrypt.openjdk)
      testImplementation(libs.junit)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 06 05:31:00 UTC 2024
    - 819 bytes
    - Viewed (0)
  8. build-logic/binary-compatibility/src/main/groovy/gradlebuild.binary-compatibility.gradle

    def baselineJars = configurations.baselineJars
    def baseVersion = moduleIdentity.version.map { it.baseVersion.version }
    
    dependencies {
        baseline("gradle:gradle:${compatibilityBaselineVersion}@zip")
    
        // This transform takes the Gradle zip distribution,
        // and unzips the Gradle jar files that it contains in a directory
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Jul 26 08:15:16 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  9. build-logic/buildquality/src/main/kotlin/gradlebuild.incubation-report-aggregation.gradle.kts

    plugins {
        id("base")
    }
    
    val reports by configurations.creating {
        isVisible = false
        isCanBeResolved = false
        isCanBeConsumed = false
        description = "Dependencies to aggregate reports from"
    }
    
    val allIncubationReports = tasks.register<IncubatingApiAggregateReportTask>("allIncubationReports") {
        group = "verification"
        reports.from(resolver("txt"))
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Sat Sep 30 16:17:28 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  10. okhttp-dnsoverhttps/build.gradle.kts

    }
    
    project.applyOsgi(
      "Export-Package: okhttp3.dnsoverhttps",
      "Automatic-Module-Name: okhttp3.dnsoverhttps",
      "Bundle-SymbolicName: com.squareup.okhttp3.dnsoverhttps"
    )
    
    dependencies {
      api(projects.okhttp)
      compileOnly(libs.findbugs.jsr305)
    
      testImplementation(projects.okhttpTestingSupport)
      testImplementation(projects.mockwebserver)
      testImplementation(projects.mockwebserver3Junit5)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 06 05:31:00 UTC 2024
    - 932 bytes
    - Viewed (0)
Back to top