Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 105 for dep2 (0.47 sec)

  1. src/cmd/api/testdata/src/issue21181/p/p.go

    package p
    
    import (
    	"dep"
    )
    
    type algo struct {
    	indrt func(dep.Interface)
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Fri Oct 05 17:53:43 UTC 2018
    - 78 bytes
    - Viewed (0)
  2. tests/test_stringified_annotations_simple.py

    from fastapi.testclient import TestClient
    
    from .utils import needs_py310
    
    
    class Dep:
        def __call__(self, request: Request):
            return "test"
    
    
    @needs_py310
    def test_stringified_annotations():
        app = FastAPI()
    
        client = TestClient(app)
    
        @app.get("/test/")
        def call(test: Annotated[str, Depends(Dep())]):
            return {"test": test}
    
        response = client.get("/test")
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 545 bytes
    - Viewed (0)
  3. docs/zh/docs/tutorial/dependencies/dependencies-with-yield.md

    participant client as Client
    participant handler as Exception handler
    participant dep as Dep with yield
    participant operation as Path Operation
    participant tasks as Background tasks
    
        Note over client,operation: Can raise exceptions, including HTTPException
        client ->> dep: Start request
        Note over dep: Run code up to yield
        opt raise Exception
            dep -->> handler: Raise Exception
            handler -->> client: HTTP error response
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  4. ci/official/containers/ml_build/Dockerfile

    # Install various tools.
    # - bats: bash unit testing framework
    # - bazelisk: always use the correct bazel version
    # - buildifier: clean bazel build deps
    # - buildozer: clean bazel build deps
    # - gcloud SDK: communicate with Google Cloud Platform (GCP) for RBE, CI
    # - patchelf: Utility tool to modify existing ELF executables and libraries
    Registered: Tue Dec 30 12:39:10 UTC 2025
    - Last Modified: Thu Dec 18 21:55:23 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  5. src/cmd/api/testdata/src/issue21181/dep/p_amd64.go

    package dep...
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Fri Oct 05 17:53:43 UTC 2018
    - 12 bytes
    - Viewed (0)
  6. tests/test_tutorial/test_dependencies/test_tutorial008.py

    import pytest
    from fastapi import Depends, FastAPI
    from fastapi.testclient import TestClient
    
    
    @pytest.fixture(
        name="module",
        params=[
            "tutorial008_py39",
            # Fails with `NameError: name 'DepA' is not defined`
            pytest.param("tutorial008_an_py39", marks=pytest.mark.xfail),
        ],
    )
    def get_module(request: pytest.FixtureRequest):
        mod_name = f"docs_src.dependencies.{request.param}"
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  7. .teamcity/src/main/kotlin/projects/CheckProject.kt

                    allowEmpty = true,
                    description = "The extra gradle parameters you want to pass to this build, e.g. `-PrerunAllTests` or `--no-build-cache`",
                )
                text(
                    "reverse.dep.*.additional.gradle.parameters",
                    "",
                    display = ParameterDisplay.NORMAL,
                    allowEmpty = true,
                    description =
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Wed Feb 12 09:12:03 UTC 2025
    - 3.9K bytes
    - Viewed (1)
  8. docs/pt/docs/tutorial/dependencies/dependencies-with-yield.md

    participant handler as Manipulador de exceções
    participant dep as Dep com yield
    participant operation as Operação de Rota
    participant tasks as Tarefas de Background
    
        Note over client,operation: pode lançar exceções, incluindo HTTPException
        client ->> dep: Iniciar requisição
        Note over dep: Executar código até o yield
        opt lançar Exceção
            dep -->> handler: lançar Exceção
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/dependencies/dependencies-with-yield.md

    participant client as Client
    participant handler as Exception handler
    participant dep as Dep with yield
    participant operation as Path Operation
    participant tasks as Background tasks
    
        Note over client,operation: Can raise exceptions, including HTTPException
        client ->> dep: Start request
        Note over dep: Run code up to yield
        opt raise Exception
            dep -->> handler: Raise Exception
            handler -->> client: HTTP error response
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 12.9K bytes
    - Viewed (0)
  10. fastapi/dependencies/models.py

            assert isinstance(unwrapped, SecurityBase)
            return unwrapped
    
        @cached_property
        def _security_dependencies(self) -> list["Dependant"]:
            security_deps = [dep for dep in self.dependencies if dep._is_security_scheme]
            return security_deps
    
        @cached_property
        def is_gen_callable(self) -> bool:
            if self.call is None:
                return False  # pragma: no cover
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 7.1K bytes
    - Viewed (0)
Back to top