Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 54 for Dep (0.07 sec)

  1. compat/maven-model-builder/src/test/resources/poms/depmgmt/root-dep-last.xml

    Guillaume Nodet <******@****.***> 1736492952 +0100
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jan 10 07:09:12 UTC 2025
    - 951 bytes
    - Viewed (0)
  2. compat/maven-compat/src/test/resources/projects/scope/transitive-compile-dep.xml

    Guillaume Nodet <******@****.***> 1729859506 +0200
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  3. compat/maven-compat/src/test/resources/projects/scope/transitive-default-dep.xml

    Guillaume Nodet <******@****.***> 1729859506 +0200
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  4. compat/maven-compat/src/test/resources/projects/scope/transitive-test-dep.xml

    Guillaume Nodet <******@****.***> 1729859506 +0200
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  5. compat/maven-model-builder/src/test/resources/poms/depmgmt/root-dep-first.xml

    Guillaume Nodet <******@****.***> 1736492952 +0100
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jan 10 07:09:12 UTC 2025
    - 951 bytes
    - Viewed (0)
  6. compat/maven-compat/src/test/resources/projects/scope/transitive-provided-dep.xml

    Guillaume Nodet <******@****.***> 1729859506 +0200
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  7. compat/maven-compat/src/test/resources/projects/scope/transitive-runtime-dep.xml

    Guillaume Nodet <******@****.***> 1729859506 +0200
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  8. tests/test_depends_hashable.py

    from fastapi import Depends, Security
    
    
    def dep():
        pass
    
    
    def test_depends_hashable():
        dep()  # just for coverage
        d1 = Depends(dep)
        d2 = Depends(dep)
        d3 = Depends(dep, scope="function")
        d4 = Depends(dep, scope="function")
    
        s1 = Security(dep)
        s2 = Security(dep)
    
        assert hash(d1) == hash(d2)
        assert hash(s1) == hash(s2)
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Nov 19 16:50:18 UTC 2025
    - 596 bytes
    - Viewed (0)
  9. tests/benchmarks/test_general_performance.py

    
    @app.get("/sync/dict-no-response-model")
    def sync_dict_no_response_model():
        return {"name": "foo", "value": 123}
    
    
    @app.get("/sync/dict-with-response-model", response_model=ItemOut)
    def sync_dict_with_response_model(
        dep: Annotated[int, Depends(dep_b)],
    ):
        return {"name": "foo", "value": 123, "dep": dep}
    
    
    @app.get("/sync/model-no-response-model")
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 20:40:26 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  10. tests/test_generic_parameterless_depends.py

    from fastapi.testclient import TestClient
    
    app = FastAPI()
    
    T = TypeVar("T")
    
    Dep = Annotated[T, Depends()]
    
    
    class A:
        pass
    
    
    class B:
        pass
    
    
    @app.get("/a")
    async def a(dep: Dep[A]):
        return {"cls": dep.__class__.__name__}
    
    
    @app.get("/b")
    async def b(dep: Dep[B]):
        return {"cls": dep.__class__.__name__}
    
    
    client = TestClient(app)
    
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 1.8K bytes
    - Viewed (0)
Back to top