diff --git a/README.md b/README.md index d4174ac76..0ee80a8fd 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ pypi: https://pypi.org/project/abstracts #### [aio.api.github](aio.api.github) -version: 0.0.1 +version: 0.0.2 pypi: https://pypi.org/project/aio.api.github diff --git a/aio.api.github/VERSION b/aio.api.github/VERSION index 8acdd82b7..4e379d2bf 100644 --- a/aio.api.github/VERSION +++ b/aio.api.github/VERSION @@ -1 +1 @@ -0.0.1 +0.0.2 diff --git a/aio.api.github/aio/api/github/api.py b/aio.api.github/aio/api/github/api.py index f8573d27b..882e2dfb1 100644 --- a/aio.api.github/aio/api/github/api.py +++ b/aio.api.github/aio/api/github/api.py @@ -60,6 +60,9 @@ class GithubTag: @abstracts.implementer(AGithubAPI) class GithubAPI: + def __init__(self, *args, **kwargs) -> None: + AGithubAPI.__init__(self, *args, **kwargs) + @property def api_class(self) -> Type[gidgethub.abc.GitHubAPI]: return super().api_class diff --git a/aio.api.github/tests/test_api.py b/aio.api.github/tests/test_api.py index 7987e7be5..dd6a222ad 100644 --- a/aio.api.github/tests/test_api.py +++ b/aio.api.github/tests/test_api.py @@ -18,7 +18,7 @@ def test_api_constructor(patches): assert isinstance(api, github.AGithubAPI) assert ( list(m_super.call_args) - == [args, kwargs]) + == [(api, ) + args, kwargs]) assert api.commit_class == github.GithubCommit assert api.issue_class == github.GithubIssue assert api.issues_class == github.GithubIssues