[llvm] workflows/commit-access-review: Use Python APIs for graphql queries (PR #108903)

Aiden Grossman via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 16 18:46:36 PDT 2024


================
@@ -140,15 +92,18 @@ def check_manual_requests(start_date: datetime.datetime, token: str) -> list[str
         "query": f"type:issue created:>{formatted_start_date} org:llvm repo:llvm-project label:infrastructure:commit-access"
     }
 
-    data = run_graphql_query(query, variables, token)
+    res_header, d = gh._Github__requester.graphql_query(
----------------
boomanaiden154 wrote:

Nit: Can you use a more descriptive name here and below than just `d`?

https://github.com/llvm/llvm-project/pull/108903


More information about the llvm-commits mailing list