Skip to content

Commit

Permalink
🐛 Add new app_slug key to installation struct
Browse files Browse the repository at this point in the history
Partially addresses #32
  • Loading branch information
webknjaz committed Jan 11, 2020
1 parent 71f4fd7 commit 7627596
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions octomachinery/github/models/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ class GitHubAppInstallation: # pylint: disable=too-few-public-methods
"""Installation ID."""
app_id: int = attr.ib(converter=int)
"""GitHub App ID."""
app_slug: str = attr.ib(converter=str)
"""GitHub App slug."""

# FIXME: unignore once this is solved: # pylint: disable=fixme
# https://github.com/python/mypy/issues/6172#issuecomment-515718727
Expand Down

0 comments on commit 7627596

Please sign in to comment.