• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

profusion / sgqlc / 153
100%
master: 100%

Build:
Build:
LAST BUILD BRANCH: httpx
DEFAULT BRANCH: master
Ran 17 Dec 2020 07:26PM UTC
Jobs 1
Files 11
Run time 4s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
153

push

travis-ci-com

barbieri
codegen: add operations generator

This is another helper that given a GraphQL domain-specific-language
(DSL), it will generate the Python code using SGQL types.

Since fragments are not supported by sgqlc.operation, it will inline
the fields. Eventually the named fragment support will be added.

Variables are respected, that allows parameters to be given to
operations.

A simplified validation is done, it's not fully complete (one can use
existing tools to validate `.gql` files against a schema), but should
serve most people, including:
 - input type mismatch
 - invalid selections/fields
 - invalid types
 - invalid arguments
 - missing required arguments
 - invalid enum values

In the future I plan to add support to generate typings, so it will
help mypy users.

1464 of 1464 relevant lines covered (100.0%)

1.0 hits per line

Jobs
ID Job ID Ran Files Coverage
1 153.1 (PIPENV_VENV_IN_PROJECT=1 PIPENV_IGNORE_VIRTUALENVS=1) 17 Dec 2020 07:26PM UTC 0
100.0
Travis Job 153.1
Source Files on build 153
  • Tree
  • List 11
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Build #153
  • e30f547b on github
  • Prev Build on operations-codegen (#151)
  • Next Build on operations-codegen (#155)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc