generated from yanyongyu/python-poetry-template
-
-
Notifications
You must be signed in to change notification settings - Fork 37
Closed
Labels
Description
Hey,
I am writing my first GraphQL queries with githubkit. Do you see anything wrong with my usage? I can't seem to get my queries to work. The queries are successful in my GraphQL explorer.
async with GitHub(
github_token, base_url="https://<myenterprisegithuburl>.com/api/graphql"
) as github_client:
resp = await github_client.async_graphql(
query="""
query myQuery($owner: String!, $name: String!) {
repository(owner: $owner, name: $name){
id
}
}
""",
variables={
"owner": owner,
"name": repo
}
)mboutet