GitHub GraphQL Client#
We use ariadne-codegen for creating the GraphQL client. It takes the GitHub GraphQL schema and our queries and generates a typed python client.
To add a query/mutation:
- Find the most relevant query file among the ones in
queries/or create a new one - Add the query/mutation
- Run
sh scripts/codegen.sh - The client should now have a method to run your query/mutation