Comments (3)
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
from sgqlc.
Okay thanks. It doesn't seem to be environment-related, but let me dig in to it a bit more.
from sgqlc.
while adding schema.Query
is okay, was your problem solved without it, only using the correct env setup? (otherwise it should be a bug)
from sgqlc.
Related Issues (20)
- Getting an `assert iface_name in self.written_types, iface_name` when trying to generate the schema for DatahubAPI HOT 8
- Cannot use codegen against server without @include (or against api.github) HOT 7
- Support file uploads for mutations? HOT 2
- Node Cross Referencing HOT 2
- TypeError: cannot unpack non-iterable DirectiveDefinitionNode object HOT 10
- Initializing types using field arugments HOT 2
- Using None produces empty object for input types HOT 3
- HTTP endpoint class should not include Authorization headers in __str__ method HOT 3
- HTTP endpoint class should allow compression of the data using gzip HOT 1
- Code Completion In Pycharm HOT 7
- Nested jsonb in insert mutation HOT 6
- Fragment Operation with inline and nested fragments "Unknown fragments..." error HOT 4
- Enums should be nullable on input HOT 1
- Issues with operation generator HOT 3
- Best practice to construct nested query variables
- 'utf-8' codec can't decode byte 0x8b in position 1: invalid start byte HOT 1
- Nested Nodes aren't being appended to the Query HOT 4
- Add support for `UUID` Type HOT 3
- Connections in requests session are closed after each request HOT 2
- Way to add new properties to object types and print with __to_json_value__() HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sgqlc.