MCPcopy Index your code
hub / github.com/EvanLi/Github-Ranking / get_repos

Method get_repos

source/process.py:123–130  ·  view source on GitHub ↗
(self, qql)

Source from the content-addressed store, hash-verified

121 return res
122
123 def get_repos(self, qql):
124 cursor = ''
125 repos = []
126 for i in range(0, self.bulk_count):
127 repos_gql = get_graphql_data(qql % cursor)
128 cursor = ', after:"' + repos_gql["data"]["search"]["pageInfo"]["endCursor"] + '"'
129 repos += self.parse_gql_result(repos_gql)
130 return repos
131
132 def get_all_repos(self):
133 # get all repos of most stars and forks, and different languages

Callers 1

get_all_reposMethod · 0.95

Calls 2

parse_gql_resultMethod · 0.95
get_graphql_dataFunction · 0.90

Tested by

no test coverage detected