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

QuTech-Delft / quantuminspire / 133 / 1
100%
dev: 100%

Build:
Build:
LAST BUILD BRANCH: fix/readthedocs
DEFAULT BRANCH: dev
Ran 11 Mar 2022 01:16PM UTC
Files 14
Run time 1s
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

11 Mar 2022 01:11PM UTC coverage: 99.778%. First build
API_URL=https://staging.quantum-inspire.com

push

travis-ci-com

tomrijnbeek
[SDS-335] Resolve import cycles using postponed annotations

Postponed annotations allow us to use forward code references without having access to them statically, but we can have access at runtime. Using the TYPE_CHECKING constant from typing makes sure that we don't have circular dependencies in the actual code.

The "correct" approach would be to extract interfaces. For example, we could have a generic API interface or a generic Job interface that exposes the methods and properties that we need access to. However, this is not particularly "Pythonese", so this approach seemed more lightweight.

1350 of 1353 relevant lines covered (99.78%)

1.0 hits per line

Source Files on job 133.1 (API_URL=https://staging.quantum-inspire.com)
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 794
  • Travis Job 133.1
  • f87bfdfd on github
  • Next Job for API_URL=https://staging.quantum-inspire.com on feature/SDS-335/postponed-annotations (#137.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