Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 361 - 370 of 566 for DEPENDENCIES (0.06 seconds)

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

  1. tests/test_exception_handlers.py

        }
    )
    
    client = TestClient(app)
    
    
    def raise_value_error():
        raise ValueError()
    
    
    def dependency_with_yield():
        yield raise_value_error()
    
    
    @app.get("/dependency-with-yield", dependencies=[Depends(dependency_with_yield)])
    def with_yield(): ...
    
    
    @app.get("/http-exception")
    def route_with_http_exception():
        raise HTTPException(status_code=400)
    
    
    @app.get("/request-validation/{param}/")
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Dec 03 22:37:12 GMT 2024
    - 2.4K bytes
    - Click Count (0)
  2. .teamcity/src/main/kotlin/common/CommonExtensions.kt

            if (isContinue) "--continue" else "",
        )
    
    fun Dependencies.dependsOn(buildTypeId: RelativeId) {
        dependency(buildTypeId) {
            snapshot {
                onDependencyFailure = FailureAction.FAIL_TO_START
                onDependencyCancel = FailureAction.FAIL_TO_START
            }
        }
    }
    
    fun Dependencies.compileAllDependency(compileAllId: String) {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Mon Dec 22 07:15:16 GMT 2025
    - 15.6K bytes
    - Click Count (0)
  3. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.build-logic.groovy-dsl-gradle-plugin.gradle.kts

    plugins {
        id("java-library")
        id("groovy-gradle-plugin")
        id("gradlebuild.code-quality")
        id("gradlebuild.ci-reporting")
        id("gradlebuild.test-retry")
        id("gradlebuild.private-javadoc")
    }
    
    dependencies {
        api(platform("gradlebuild:build-platform"))
        implementation("gradlebuild:gradle-plugin")
    
        implementation(localGroovy())
        testImplementation("org.spockframework:spock-core")
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Fri Apr 11 20:15:47 GMT 2025
    - 2.2K bytes
    - Click Count (0)
  4. compat/maven-compat/src/test/java/org/apache/maven/artifact/resolver/ArtifactResolverTest.java

                        ArtifactRepository localRepository,
                        List<ArtifactRepository> remoteRepositories) {
                    Set<Artifact> dependencies = new HashSet<>();
    
                    return new ResolutionGroup(artifact, dependencies, remoteRepositories);
                }
    
                @Override
                public List<ArtifactVersion> retrieveAvailableVersions(
                        Artifact artifact,
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Mar 26 10:49:22 GMT 2025
    - 10.1K bytes
    - Click Count (0)
  5. docs_src/dependencies/tutorial012_an_py39.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 Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 746 bytes
    - Click Count (0)
  6. build-logic/buildquality/src/main/kotlin/gradlebuild/incubation/tasks/IncubatingApiReportTask.kt

        private val additionalClasspath = project.objects.fileCollection().apply {
            from(
                project.configurations.detachedConfiguration(
                    project.dependencies.create(project.the<ExternalModulesExtension>().futureKotlin("compiler-embeddable"))
                )
            )
        }
    
        @get:InputFile
        @get:PathSensitive(PathSensitivity.RELATIVE)
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Mon Jun 02 09:57:54 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  7. docs/en/docs/advanced/response-change-status-code.md

    *temporal* response to extract the status code (also cookies and headers), and will put them in the final response that contains the value you returned, filtered by any `response_model`.
    
    You can also declare the `Response` parameter in dependencies, and set the status code in them. But keep in mind that the last one to be set will win....
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 1.5K bytes
    - Click Count (0)
  8. docs/ru/docs/async.md

    ### Зависимости { #dependencies }
    
    То же относится к [зависимостям](tutorial/dependencies/index.md){.internal-link target=_blank}. Если зависимость — это обычная функция `def`, а не `async def`, она запускается во внешнем пуле потоков.
    
    ### Подзависимости { #sub-dependencies }
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Sep 30 11:24:39 GMT 2025
    - 38.5K bytes
    - Click Count (0)
  9. README.md

    Maven projects.
    
    ```xml
    <dependencyManagement>
      <dependencies>
        <dependency>
          <groupId>com.squareup.okhttp3</groupId>
          <artifactId>okhttp-bom</artifactId>
          <version>5.2.0</version>
          <type>pom</type>
          <scope>import</scope>
        </dependency>
      </dependencies>
    </dependencyManagement>
    ```
    
    
    
    ```xml
    <dependency>
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Thu Oct 30 21:39:59 GMT 2025
    - 9.5K bytes
    - Click Count (0)
  10. CHANGELOG/CHANGELOG-1.23.md

      - [Changelog since v1.23.16](#changelog-since-v12316)
      - [Changes by Kind](#changes-by-kind)
        - [Feature](#feature)
        - [Bug or Regression](#bug-or-regression)
      - [Dependencies](#dependencies)
        - [Added](#added)
        - [Changed](#changed)
        - [Removed](#removed)
    - [v1.23.16](#v12316)
      - [Downloads for v1.23.16](#downloads-for-v12316)
        - [Source Code](#source-code-1)
    Created: Fri Dec 26 09:05:12 GMT 2025
    - Last Modified: Tue Feb 28 21:06:52 GMT 2023
    - 424.5K bytes
    - Click Count (0)
Back to Top