Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

quil-py: Calibration type stubs differ from implementation #420

Open
MarquessV opened this issue Nov 12, 2024 · 1 comment
Open

quil-py: Calibration type stubs differ from implementation #420

MarquessV opened this issue Nov 12, 2024 · 1 comment

Comments

@MarquessV
Copy link
Contributor

MarquessV commented Nov 12, 2024

In 0.13.2, some of the accessor methods on Calibration and MeasureCalibrationDefinition changed from being properties, to being methods that need to be called. However, the type stubs have not been updated to remove the @Property decorators from the type stubs. This misrepresents the API, and raise unnecessary errors in downstream projects.

@jselig-rigetti
Copy link
Contributor

From rigetti/pyquil#1809 (comment) looks like the type stubs were upgraded? At least in the repo, not sure they made it out fully in a release though

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants