We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0a76731 commit 01ef2f0Copy full SHA for 01ef2f0
src/github3/__init__.py
@@ -65,6 +65,7 @@
65
"GitHubError",
66
"GitHubStatus",
67
"authorize",
68
+ 'checks',
69
"login",
70
"enterprise_login",
71
"emojis",
src/github3/checks.py
@@ -6,7 +6,6 @@
6
7
from . import models
8
from . import pulls
9
-from .repos import ShortRepository
10
from .decorators import requires_auth
11
12
@@ -64,6 +63,8 @@ class CheckSuite(models.GitHubCore):
64
63
}
def _update_attributes(self, suite):
+ # Import here, because a toplevel import causes an import loop
+ from .repos import ShortRepository
self._api = suite['url']
#self.base = Base(pull['base'], self)
self.status = suite['status']
0 commit comments