()
| 75 | |
| 76 | |
| 77 | def check_github_api() -> dict: |
| 78 | if github.API_TOKEN: |
| 79 | return { |
| 80 | "enabled": True, |
| 81 | "description": "GitHub API token is present, rate limiting is increased" |
| 82 | } |
| 83 | else: |
| 84 | return { |
| 85 | "enabled": False, |
| 86 | "description": "Github API token not present, rate limiting is significantly lowered" |
| 87 | } |
| 88 | |
| 89 | |
| 90 | def check_schema() -> Optional[dict]: |
no outgoing calls
no test coverage detected