()
| 26 | |
| 27 | @lru_cache |
| 28 | def get_github_service() -> GitHubService: |
| 29 | settings = get_settings() |
| 30 | return GitHubService( |
| 31 | client_id=settings.github_app_client_id, |
| 32 | client_secret=settings.github_app_client_secret, |
| 33 | app_id=settings.github_app_id, |
| 34 | private_key=settings.github_app_private_key, |
| 35 | ) |
| 36 | |
| 37 | |
| 38 | @lru_cache |
no test coverage detected