Skip to content

Commit

Permalink
Remove unused method
Browse files Browse the repository at this point in the history
Signed-off-by: Andrew Brain <[email protected]>
  • Loading branch information
ABrain7710 committed Jul 4, 2024
1 parent 67f95a9 commit 30350fc
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions augur/tasks/github/util/github_graphql_data_access.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,22 +138,6 @@ def __extract_data_section(self, keys, json_response):
core = core[value]

return core

def __raise_exception_for_invalid_total_count(self, data):

if 'totalCount' not in data:
raise Exception(f"Error: totalCount key not found in data. Data: {data}")

if not data["totalCount"]:
raise Exception(f"Error: totalCount is null. Data: {data}")

if not data["totalCount"]:
raise Exception(f"Error: totalCount is null. Data: {data}")

try:
int(data["totalCount"])
except ValueError:
raise Exception(f"Error: totalCount is not an integer. Data: {data}")

def __extract_raw_data_into_list(self, data):

Expand Down

0 comments on commit 30350fc

Please sign in to comment.