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

5 statements  

« prev     ^ index     » next       coverage.py v7.14.0, created at 2026-06-19 09:10 +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)