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
« prev ^ index » next coverage.py v7.13.5, created at 2026-05-02 15:51 +0000
1from typing import cast
3from fastapi import Request
5from app.utils.github_client import GithubClient
8async def get_github_client(request: Request) -> GithubClient:
9 return cast(GithubClient, request.state.gh_client)