Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 351 - 360 of 848 for Dependencies (0.12 seconds)

  1. fastapi/middleware/asyncexitstack.py

    from contextlib import AsyncExitStack
    
    from starlette.types import ASGIApp, Receive, Scope, Send
    
    
    # Used mainly to close files after the request is done, dependencies are closed
    # in their own AsyncExitStack
    class AsyncExitStackMiddleware:
        def __init__(
            self, app: ASGIApp, context_name: str = "fastapi_middleware_astack"
        ) -> None:
            self.app = app
            self.context_name = context_name
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Mon Sep 29 03:29:38 GMT 2025
    - 637 bytes
    - Click Count (0)
  2. container-tests/build.gradle.kts

        )
      }
    
      val javaToolchains = project.extensions.getByType<JavaToolchainService>()
      javaLauncher.set(javaToolchains.launcherFor {
        languageVersion.set(JavaLanguageVersion.of(testJavaVersion))
      })
    }
    
    dependencies {
      api(projects.okhttp)
    
      testImplementation(projects.okhttpTestingSupport)
      testImplementation(libs.junit.jupiter.api)
      testImplementation(libs.junit.jupiter.params)
      testImplementation(libs.junit.jupiter.engine)
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Feb 05 09:17:33 GMT 2026
    - 1.3K bytes
    - Click Count (1)
  3. build-logic/build.gradle.kts

        ktlint()
      }
      kotlinGradle {
        target("*.kts")
        targetExclude("build/**/*.kts")
        ktlint()
      }
    }
    
    repositories {
      google()
      mavenCentral()
      gradlePluginPortal()
    }
    
    dependencies {
      implementation(libs.gradlePlugin.kotlin)
      implementation(libs.gradlePlugin.mavenPublish)
      implementation(libs.gradlePlugin.dokka)
      implementation(libs.gradlePlugin.binaryCompatibilityValidator)
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 18 18:05:02 GMT 2026
    - 1.1K bytes
    - Click Count (0)
  4. build-logic/documentation/build.gradle.kts

    plugins {
        id("gradlebuild.build-logic.kotlin-dsl-gradle-plugin")
        id("gradlebuild.build-logic.groovy-dsl-gradle-plugin")
    }
    
    description = "Provides a plugin to generate Gradle's DSL reference, User Manual and Javadocs"
    
    dependencies {
        implementation("gradlebuild:basics")
        implementation("gradlebuild:module-identity")
    
        implementation(projects.buildUpdateUtils)
    
        implementation(buildLibs.gradleGuidesPlugin)
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Mar 12 22:33:18 GMT 2026
    - 1.1K bytes
    - Click Count (0)
  5. build-logic/binary-compatibility/build.gradle.kts

        id("gradlebuild.build-logic.groovy-dsl-gradle-plugin")
    }
    
    description = "Provides a plugin for configuring japicmp-gradle-plugin to detect binary incompatible changes"
    
    dependencies {
        api(buildLibs.japiCmpPlugin)
    
        implementation(projects.dependencyModules)
        implementation("gradlebuild:basics")
        implementation("gradlebuild:module-identity")
    
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Jan 30 09:06:26 GMT 2026
    - 927 bytes
    - Click Count (0)
  6. android-test-app/build.gradle.kts

          testProguardFiles("test-proguard-rules.pro")
        }
      }
    
      lint {
        abortOnError = true
      }
    }
    
    dependencies {
      implementation(libs.playservices.safetynet)
      implementation(projects.okhttp)
      implementation(libs.androidx.activity)
    
      androidTestImplementation(libs.androidx.junit)
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sat Feb 07 06:56:34 GMT 2026
    - 1.2K bytes
    - Click Count (0)
  7. docs_src/dependencies/tutorial012_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 = 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():
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 746 bytes
    - Click Count (0)
  8. 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(buildLibs.guava) {
            because("Used by class analysis")
        }
        implementation(libs.asm) {
            because("Used by class analysis")
        }
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Jan 30 09:06:26 GMT 2026
    - 903 bytes
    - Click Count (0)
  9. .github/workflows/topic-repos.yml

            uses: astral-sh/setup-uv@v7
            with:
              enable-cache: true
              cache-dependency-glob: |
                pyproject.toml
                uv.lock
          - name: Install GitHub Actions dependencies
            run: uv sync --locked --no-dev --group github-actions
          - name: Update Topic Repos
            run: uv run ./scripts/topic_repos.py
            env:
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Jan 10 22:02:57 GMT 2026
    - 969 bytes
    - Click Count (0)
  10. fastapi/security/oauth2.py

        obtain the OAuth2 scopes required by all the dependencies in the same chain.
    
        This way, multiple dependencies can have different scopes, even when used in the
        same *path operation*. And with this, you can access all the scopes required in
        all those dependencies in a single place.
    
        Read more about it in the
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Mar 24 16:32:10 GMT 2026
    - 23.6K bytes
    - Click Count (0)
Back to Top