Skip to content
This repository was archived by the owner on Mar 13, 2026. It is now read-only.

Commit 38cbb56

Browse files
Limit the number of nodes passed to graphql (#35)
1 parent b3405fc commit 38cbb56

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/query_graphql.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@ def query_jobs(node_id_list: List[str]):
4242
}
4343
"""
4444
)
45-
params = {"node_id_list": node_id_list}
45+
params = {
46+
"node_id_list": node_id_list[:100]
47+
} # Get only the 100 first, the others will be processed on next iterations
4648

4749
return client.execute(query, variable_values=params)

0 commit comments

Comments
 (0)