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

profusion / sgqlc / 157 / 1
100%
master: 100%

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

17 Dec 2020 08:35PM UTC coverage: 100.0%. Remained the same
PIPENV_VENV_IN_PROJECT=1 PIPENV_IGNORE_VIRTUALENVS=1

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

Source Files on job 157.1 (PIPENV_VENV_IN_PROJECT=1 PIPENV_IGNORE_VIRTUALENVS=1)
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 187
  • Travis Job 157.1
  • 95d7ab1a on github
  • Prev Job for PIPENV_VENV_IN_PROJECT=1 PIPENV_IGNORE_VIRTUALENVS=1 on operations-codegen (#155.1)
  • Next Job for PIPENV_VENV_IN_PROJECT=1 PIPENV_IGNORE_VIRTUALENVS=1 on operations-codegen (#159.1)
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

© 2026 Coveralls, Inc