corvix.config.github ==================== .. py:module:: corvix.config.github .. autoapi-nested-parse:: GitHub account configuration model and YAML parsing. Attributes ---------- .. autoapisummary:: corvix.config.github.DEFAULT_GITHUB_API_BASE_URL Classes ------- .. autoapisummary:: corvix.config.github.GitHubAccountConfig corvix.config.github.GitHubConfig Functions --------- .. autoapisummary:: corvix.config.github._parse_github Module Contents --------------- .. py:data:: DEFAULT_GITHUB_API_BASE_URL :value: 'https://api.github.com' .. py:class:: GitHubAccountConfig One GitHub account configuration for multi-account polling. .. py:attribute:: id :type: str .. py:attribute:: label :type: str .. py:attribute:: token_env :type: str .. py:attribute:: api_base_url :type: str :value: 'https://api.github.com' .. py:class:: GitHubConfig GitHub API configuration. .. py:attribute:: accounts :type: list[GitHubAccountConfig] :value: [] .. py:property:: token_env :type: str Backward-compatible shortcut to first account token env. .. py:property:: api_base_url :type: str Backward-compatible shortcut to first account API base URL. .. py:function:: _parse_github(value: object) -> GitHubConfig