Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for get_db_session (0.05 sec)

  1. tests/test_security_scopes_sub_dependency.py

    def call_counts_fixture():
        return {
            "get_db_session": 0,
            "get_current_user": 0,
            "get_user_me": 0,
            "get_user_items": 0,
        }
    
    
    @pytest.fixture(name="app")
    def app_fixture(call_counts: dict[str, int]):
        def get_db_session():
            call_counts["get_db_session"] += 1
            return f"db_session_{call_counts['get_db_session']}"
    
        def get_current_user(
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 2.9K bytes
    - Viewed (0)
Back to top