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

Qiskit / qiskit-ibm-runtime / 12013976980
80%
main: 83%

Build:
Build:
LAST BUILD BRANCH: executor_preview
DEFAULT BRANCH: main
Ran 25 Nov 2024 04:08PM UTC
Jobs 13
Files 236
Run time 1min
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

25 Nov 2024 04:02PM UTC coverage: 80.098%. Remained the same
12013976980

push

github

web-flow
Fix type hints in docs for PUBs and improve Sphinx config (#2052) (#2055)

Closes https://github.com/Qiskit/qiskit-ibm-runtime/issues/1877. We now use `EstimatorPubLike` and `SamplerPubLike` for the type hints, rather than Sphinx fully expanding the types into extremely long values shown in #1877.

To fix the type hints, we have to stop using `sphinx-autodoc-typehints` and instead use autodoc's builtin support for type hints. I didn't realize we were still using `sphinx-autodoc-typehints` - the other Qiskit projects migrated off a while ago.

This PR also makes some other improvements to align with changes we made in Qiskit Addons & qiskit-ibm-transpiler:

* always show inheritance in class pages for the base class
* index page should show the PyPI package name in code syntax
* don't show signatures in `autosummary` tables, since they're noisy
* show type hints for parameters that don't have docstring

## Introduces a regression: type hints for properties

Unfortunately, switching off of `sphinx-autodoc-typehints` results in https://github.com/Qiskit/documentation/issues/2346. This is a quirk of autosummary that we cannot easily fix. We have a plan to fix it, although realistically won't get to it until Q1 and possibly Q2.

In the meantime, consider repeating some of the type information in the docstring. For example, in

```
<Attribute id="qiskit_ibm_runtime.EstimatorV2.mode">
    Return the execution mode used by this primitive.
```

You could rewrite to say

```
<Attribute id="qiskit_ibm_runtime.EstimatorV2.mode">
    Return the execution mode used by this primitive, either :class:~`.Session` or ~:class:~`.Batch`.
```

6520 of 8140 relevant lines covered (80.1%)

9.7 hits per line

Jobs
ID Job ID Ran Files Coverage
1 unit-tests_python3.10-macos-latest - 12013976980.1 25 Nov 2024 04:08PM UTC 0
78.93
GitHub Action Run
2 unit-tests_python3.10-ubuntu-latest - 12013976980.2 25 Nov 2024 04:08PM UTC 0
78.93
GitHub Action Run
3 unit-tests_python3.11-macos-latest - 12013976980.3 25 Nov 2024 04:08PM UTC 0
78.93
GitHub Action Run
4 unit-tests_python3.8-ubuntu-latest - 12013976980.4 25 Nov 2024 04:08PM UTC 0
79.93
GitHub Action Run
5 unit-tests_python3.9-ubuntu-latest - 12013976980.5 25 Nov 2024 04:09PM UTC 0
78.79
GitHub Action Run
6 unit-tests_python3.9-windows-latest - 12013976980.6 25 Nov 2024 04:14PM UTC 0
76.97
GitHub Action Run
7 unit-tests_python3.12-macos-latest - 12013976980.7 25 Nov 2024 04:08PM UTC 0
78.88
GitHub Action Run
8 unit-tests_python3.8-windows-latest - 12013976980.8 25 Nov 2024 04:17PM UTC 0
78.21
GitHub Action Run
9 unit-tests_python3.11-windows-latest - 12013976980.9 25 Nov 2024 04:11PM UTC 0
77.13
GitHub Action Run
10 unit-tests_python3.11-ubuntu-latest - 12013976980.10 25 Nov 2024 04:08PM UTC 0
78.93
GitHub Action Run
11 unit-tests_python3.10-windows-latest - 12013976980.11 25 Nov 2024 04:13PM UTC 0
77.13
GitHub Action Run
12 unit-tests_python3.12-ubuntu-latest - 12013976980.12 25 Nov 2024 04:09PM UTC 0
78.93
GitHub Action Run
13 unit-tests_python3.12-windows-latest - 12013976980.13 25 Nov 2024 04:14PM UTC 0
77.13
GitHub Action Run
Source Files on build 12013976980
Detailed source file information is not available for this build.
  • Back to Repo
  • Github Actions Build #12013976980
  • 91c59c59 on github
  • Prev Build on stable/0.33 (#11955656012)
  • Delete
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