8000
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 d0f1e68 commit 3a62f69Copy full SHA for 3a62f69
github3/search/repository.py
@@ -1,11 +1,11 @@
1
# -*- coding: utf-8 -*-
2
from __future__ import unicode_literals
3
4
-from ..models import GitHubCore
5
-from ..repos import Repository
+from .. import models
+from .. import repos
6
7
8
-class RepositorySearchResult(GitHubCore):
+class RepositorySearchResult(models.GitHubCore):
9
def _update_attributes(self, data):
10
result = data.copy()
11
@@ -20,7 +20,7 @@ def _update_attributes(self, data):
20
del result['text_matches']
21
22
#: Repository object
23
- self.repository = Repository(result, self)
+ self.repository = repos.ShortRepository(result, self)
24
25
def _repr(self):
26
return '<RepositorySearchResult [{0}]>'.format(self.repository)
0 commit comments