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

profusion / sgqlc / 157
100%
master: 100%

Build:
Build:
LAST BUILD BRANCH: httpx
DEFAULT BRANCH: master
Ran 17 Dec 2020 08:43PM UTC
Jobs 1
Files 11
Run time 3s
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
157

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.

1466 of 1466 relevant lines covered (100.0%)

1.0 hits per line

Jobs
ID Job ID Ran Files Coverage
1 157.1 (PIPENV_VENV_IN_PROJECT=1 PIPENV_IGNORE_VIRTUALENVS=1) 17 Dec 2020 08:43PM UTC 0
100.0
Travis Job 157.1
Source Files on build 157
  • Tree
  • List 11
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Build #157
  • 95d7ab1a on github
  • Prev Build on operations-codegen (#155)
  • Next Build on operations-codegen (#159)
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