You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
python examples/github/github-agile-dashboard.py --token <TOKEN> flask-admin/flask-admin save
But I'm getting:
Traceback (most recent call last):
File "/Users/petrus/code/sgqlc/env/lib/python3.7/site-packages/sgqlc/types/__init__.py", line 664, in __getattr__
return self.__all[key]
KeyError: 'Query'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "examples/github/github-agile-dashboard.py", line 935, in <module>
args.func(endpoint, args)
File "examples/github/github-agile-dashboard.py", line 450, in cmd_save
args.label, args.issue_state, args.pr_state)
File "examples/github/github-agile-dashboard.py", line 202, in download
op = Operation()
File "/Users/petrus/code/sgqlc/env/lib/python3.7/site-packages/sgqlc/operation/__init__.py", line 1596, in __init__
typ = global_schema.Query
File "/Users/petrus/code/sgqlc/env/lib/python3.7/site-packages/sgqlc/types/__init__.py", line 666, in __getattr__
raise AttributeError(key) from exc
AttributeError: Query
The text was updated successfully, but these errors were encountered:
I'll look, but will need some time as I'm under some heavy work load atm :-(
The global_schema should be automatically populated when importing the generated github_schema.py, this would create the Query attribute. Could you check your running environment, see if there is nothing missing?
My advice is to run pipenv install -d and then pipenv shell, to later run the example. I usually run the example from within its folder
I'm trying to run the example like:
But I'm getting:
The text was updated successfully, but these errors were encountered: