Skip to content

Commit 622ab18

Browse files
committed
Adjust dependency query limits, remove unnecessary headers (no longer in preview)
1 parent 6617b02 commit 622ab18

3 files changed

Lines changed: 2 additions & 4 deletions

File tree

_visualize/queries/repo-Dependencies.gql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,4 @@ query ($ownName: String!, $repoName: String!, $numManifests: Int!, $numDependent
2525
}
2626
}
2727
}
28-
# {"ownName": "LLNL", "repoName": "llnl.github.io", "numManifests": 25, "numDependents": 75, "pgCursor": null}
28+
# {"ownName": "LLNL", "repoName": "llnl.github.io", "numManifests": 25, "numDependents": 100, "pgCursor": null}

_visualize/scripts/get_dependency_info.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@
4242
"ownName": r[0],
4343
"repoName": r[1],
4444
},
45-
headers={"Accept": "application/vnd.github.hawkgirl-preview+json"},
4645
)
4746
except Exception as error:
4847
print("Warning: Could not complete '%s'" % (repo))

_visualize/scripts/get_repos_dependencies.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,12 @@
3333
"ownName": r[0],
3434
"repoName": r[1],
3535
"numManifests": 25,
36-
"numDependents": 75,
36+
"numDependents": 100,
3737
"pgCursor": None,
3838
},
3939
paginate=True,
4040
cursorVar="pgCursor",
4141
keysToList=["data", "repository", "dependencyGraphManifests", "nodes"],
42-
headers={"Accept": "application/vnd.github.hawkgirl-preview+json"},
4342
)
4443
except Exception as error:
4544
print("Warning: Could not complete '%s'" % (repo))

0 commit comments

Comments
 (0)