MCPcopy Create free account
hub / github.com/defold/defold / github_query

Function github_query

scripts/releasenotes_github_projectv2.py:227–233  ·  view source on GitHub ↗
(query)

Source from the content-addressed store, hash-verified

225 print(error['message'])
226
227def github_query(query):
228 response = github.query(query, token)
229 if 'errors' in response:
230 print(response)
231 _print_errors(response)
232 sys.exit(1)
233 return response["data"]
234
235def get_project(name):
236 data = github_query(QUERY_PROJECT_NUMBER % name)

Callers 4

get_projectFunction · 0.85
get_issueFunction · 0.85
get_pullrequestFunction · 0.85
get_issues_and_prsFunction · 0.85

Calls 3

_print_errorsFunction · 0.85
exitMethod · 0.80
printFunction · 0.50

Tested by

no test coverage detected