Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 371 - 380 of 646 for dependencies (0.05 seconds)

  1. 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 Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Jan 22 14:28:13 GMT 2025
    - 699 bytes
    - Click Count (0)
  2. docs_src/dependencies/tutorial006_py39.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():
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 583 bytes
    - Click Count (0)
  3. 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 Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Sep 29 03:29:38 GMT 2025
    - 637 bytes
    - Click Count (0)
  4. .github/workflows/label-approved.yml

          with:
            version: "0.4.15"
            enable-cache: true
            cache-dependency-glob: |
                requirements**.txt
                pyproject.toml
        - name: Install GitHub Actions dependencies
          run: uv pip install -r requirements-github-actions.txt
        - name: Label Approved
          run: python ./scripts/label_approved.py
          env:
            TOKEN: ${{ secrets.GITHUB_TOKEN }}
            CONFIG: >
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Nov 21 13:03:21 GMT 2025
    - 1.1K bytes
    - Click Count (0)
  5. .github/workflows/topic-repos.yml

            with:
              version: "0.4.15"
              enable-cache: true
              cache-dependency-glob: |
                requirements**.txt
                pyproject.toml
          - name: Install GitHub Actions dependencies
            run: uv pip install -r requirements-github-actions.txt
          - name: Update Topic Repos
            run: python ./scripts/topic_repos.py
            env:
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Nov 21 13:03:21 GMT 2025
    - 1021 bytes
    - Click Count (0)
  6. docs_src/dependencies/tutorial014_an_py310.py

        session.close()
    
    
    def generate_stream(query: str):
        for ch in query:
            yield ch
            time.sleep(0.1)
    
    
    @app.get("/generate", dependencies=[Depends(get_user)])
    def generate(query: str):
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Sep 29 03:29:38 GMT 2025
    - 957 bytes
    - Click Count (0)
  7. tests/test_tutorial/test_dependencies/test_tutorial008b.py

        params=[
            pytest.param("tutorial008b_py39"),
            pytest.param("tutorial008b_an_py39"),
        ],
    )
    def get_client(request: pytest.FixtureRequest):
        mod = importlib.import_module(f"docs_src.dependencies.{request.param}")
    
        client = TestClient(mod.app)
        return client
    
    
    def test_get_no_item(client: TestClient):
        response = client.get("/items/foo")
        assert response.status_code == 404, response.text
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 1K bytes
    - Click Count (0)
  8. build-logic/buildquality/build.gradle.kts

    plugins {
        id("gradlebuild.build-logic.kotlin-dsl-gradle-plugin")
    }
    
    description = "Provides plugins to configure quality checks (incubating report, CodeNarc, et al)"
    
    dependencies {
        implementation("gradlebuild:basics")
    
        implementation(projects.cleanup)
        implementation(projects.documentation)
        implementation(projects.integrationTesting)
        implementation(projects.jvm)
        implementation(projects.performanceTesting)
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Jun 24 13:46:12 GMT 2025
    - 1.2K bytes
    - Click Count (0)
  9. docs/pt/docs/index.md

    ## Dependências { #dependencies }
    
    O FastAPI depende do Pydantic e do Starlette.
    
    ### Dependências `standard` { #standard-dependencies }
    
    Quando você instala o FastAPI com `pip install "fastapi[standard]"`, ele vêm com o grupo `standard` (padrão) de dependências opcionais:
    
    Utilizado pelo Pydantic:
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Dec 16 20:32:40 GMT 2025
    - 24.5K bytes
    - Click Count (0)
  10. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.build-logic.kotlin-dsl-gradle-plugin.gradle.kts

        id("gradlebuild.code-quality")
        id("gradlebuild.detekt")
        id("gradlebuild.ci-reporting")
        id("gradlebuild.test-retry")
        id("gradlebuild.private-javadoc")
    }
    
    dependencies {
        api(platform("gradlebuild:build-platform"))
        implementation("gradlebuild:gradle-plugin")
    
        testImplementation("org.junit.vintage:junit-vintage-engine")
    
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Nov 11 23:24:30 GMT 2025
    - 1.6K bytes
    - Click Count (0)
Back to Top