octomachinery.github.config.app module

Config schema for a GitHub App instance details.

class octomachinery.github.config.app.GitHubAppIntegrationConfig(app_id=None, private_key=None, webhook_secret=None, app_name=None, app_version=None, app_url=None)[source]

Bases: object

GitHub App auth related config.

app_id
app_name
app_url
app_version
private_key
property user_agent

The User-Agent value to use when hitting GitHub API.

webhook_secret
octomachinery.github.config.app.validate_is_not_none_if_app(self, attr, value)[source]

Forbid None value in a GitHub App context.