Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for get_parameterless_with_scopes (0.17 seconds)

  1. tests/test_dependency_paramless.py

    ):
        return credentials
    
    
    @app.get(
        "/parameterless-with-scopes",
        dependencies=[Security(process_auth, scopes=["a", "b"])],
    )
    def get_parameterless_with_scopes():
        return {"status": "ok"}
    
    
    @app.get(
        "/parameterless-without-scopes",
        dependencies=[Security(process_auth)],
    )
    def get_parameterless_without_scopes():
        return {"status": "ok"}
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 2.3K bytes
    - Click Count (0)
Back to Top