Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 55 for Dep (0.01 seconds)

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

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

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

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

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

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

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

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

    Guillaume Nodet <******@****.***> 1729859506 +0200
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.7K bytes
    - Click Count (0)
  8. 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")
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Dec 26 20:40:26 GMT 2025
    - 11.1K bytes
    - Click Count (0)
  9. 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)
    
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  10. tests/test_ambiguous_params.py

                "Cannot specify `Depends` in `Annotated` and default value"
                " together for 'foo'"
            ),
        ):
    
            @app.get("/")
            async def get2(foo: Annotated[int, Depends(dep)] = Depends(dep)):
                pass  # pragma: nocover
    
        with pytest.raises(
            AssertionError,
            match=(
                "Cannot specify a FastAPI annotation in `Annotated` and `Depends` as a"
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 20 15:55:38 GMT 2025
    - 2K bytes
    - Click Count (1)
Back to Top