Search Options

Results per page
Sort
Preferred Languages
Advance

Results 301 - 310 of 645 for dependentes (0.1 sec)

  1. 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)
  2. 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)
  3. 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("me.champeau.gradle:japicmp-gradle-plugin")
    
        implementation("gradlebuild:basics")
        implementation("gradlebuild:module-identity")
    
        implementation("com.google.code.gson:gson")
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Aug 21 11:57:49 UTC 2024
    - 905 bytes
    - Viewed (0)
  4. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/DefaultArtifactCollectorTest.java

                    ArtifactFactory artifactFactory,
                    Set<Artifact> dependencies,
                    String inheritedScope,
                    ArtifactFilter dependencyFilter)
                    throws InvalidVersionSpecificationException {
                Set<Artifact> projectArtifacts = new HashSet<>();
    
                for (Artifact d : dependencies) {
                    VersionRange versionRange;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 42.5K bytes
    - Viewed (0)
  5. build-logic-commons/gradle-plugin/build.gradle.kts

    plugins {
        `kotlin-dsl`
    }
    
    group = "gradlebuild"
    
    description = "Provides plugins used to create a Gradle plugin with Groovy or Kotlin DSL within build-logic builds"
    
    dependencies {
        compileOnly("com.gradle:develocity-gradle-plugin")
    
        api(platform(projects.buildPlatform))
    
        implementation(projects.basics)
        implementation(projects.moduleIdentity)
        implementation("net.ltgt.gradle:gradle-errorprone-plugin:4.0.1")
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Oct 15 13:02:17 UTC 2024
    - 843 bytes
    - Viewed (0)
  6. docs/ja/docs/tutorial/dependencies/index.md

    そして、これらの値を含む`dict`を返します。
    
    ### `Depends`のインポート
    
    ```Python hl_lines="3"
    {!../../docs_src/dependencies/tutorial001.py!}
    ```
    
    ### "dependant"での依存関係の宣言
    
    *path operation関数*のパラメータに`Body`や`Query`などを使用するのと同じように、新しいパラメータに`Depends`を使用することができます:
    
    ```Python hl_lines="13  18"
    {!../../docs_src/dependencies/tutorial001.py!}
    ```
    
    関数のパラメータに`Depends`を使用するのは`Body`や`Query`などと同じですが、`Depends`の動作は少し異なります。
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  7. okhttp-urlconnection/build.gradle.kts

      "Automatic-Module-Name: okhttp3.urlconnection",
      "Bundle-SymbolicName: com.squareup.okhttp3.urlconnection",
      "-removeheaders: Private-Package"
    )
    
    dependencies {
      api(projects.okhttp)
      api(projects.okhttpJavaNetCookiejar)
      compileOnly(libs.findbugs.jsr305)
      compileOnly(libs.animalsniffer.annotations)
    }
    
    mavenPublishing {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Nov 20 16:20:29 UTC 2023
    - 764 bytes
    - Viewed (0)
  8. docs/en/docs/reference/request.md

    You can import it directly from `fastapi`:
    
    ```python
    from fastapi import Request
    ```
    
    /// tip
    
    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`.
    
    ///
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 518 bytes
    - Viewed (0)
  9. tests/test_tutorial/test_dependencies/test_tutorial008b_an.py

    from fastapi.testclient import TestClient
    
    from docs_src.dependencies.tutorial008b_an import app
    
    client = TestClient(app)
    
    
    def test_get_no_item():
        response = client.get("/items/foo")
        assert response.status_code == 404, response.text
        assert response.json() == {"detail": "Item not found"}
    
    
    def test_owner_error():
        response = client.get("/items/plumbus")
        assert response.status_code == 400, response.text
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Dec 26 20:37:34 UTC 2023
    - 700 bytes
    - Viewed (0)
  10. docs/extensions/s3zip/examples/aws-js/package.json

    {
        "name": "s3-zip-example",
        "version": "1.0.0",
        "main": "main.js",
        "dependencies": {
            "aws-sdk": "^2.924.0"
        }
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jun 10 15:17:03 UTC 2021
    - 139 bytes
    - Viewed (0)
Back to top