Coverage for backend / app / dependencies / gh_client.py: 100%

5 statements  

« prev     ^ index     » next       coverage.py v7.13.5, created at 2026-05-02 15:51 +0000

1from typing import cast 

2 

3from fastapi import Request 

4 

5from app.utils.github_client import GithubClient 

6 

7 

8async def get_github_client(request: Request) -> GithubClient: 

9 return cast(GithubClient, request.state.gh_client)