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

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

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

pending completion
133

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.

18 of 18 new or added lines in 3 files covered. (100.0%)

1350 of 1353 relevant lines covered (99.78%)

1.0 hits per line

Jobs
ID Job ID Ran Files Coverage
1 133.1 (API_URL=https://staging.quantum-inspire.com) 11 Mar 2022 01:16PM UTC 0
99.78
Travis Job 133.1
Source Files on build 133
Detailed source file information is not available for this build.
  • Back to Repo
  • Build #133
  • f87bfdfd on github
  • Next Build on feature/SDS-335/postponed-annotations (#137)
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