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

feat: Add Protocol for API objects #426

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

johnchildren
Copy link
Contributor

@johnchildren johnchildren commented Apr 26, 2024

Fixes some type errors that have been seen by users and in other internal code. Also makes some methods public that were being used by QuantinuumBackend and fixes some mismatched types.

Description

This is a bit of a drive by PR, but this type issue was noticed by some users recently and is also an issue in some internal code. It looks like there were also some interface differences that adding this protocol raised. Possibly needs a bit more review as there may be some API changes that require a version bump.

Related issues

Please mention any github issues addressed by this PR.

Checklist

  • I have performed a self-review of my code.
  • I have commented hard-to-understand parts of my code.
  • I have made corresponding changes to the public API documentation.
  • I have added tests that prove my fix is effective or that my feature works.
  • I have updated the changelog with any user-facing changes.

@johnchildren johnchildren requested a review from yao-cqc as a code owner April 26, 2024 09:58
@johnchildren johnchildren force-pushed the api-object-protocol branch 3 times, most recently from 0558e2a to 3f13d43 Compare April 26, 2024 11:47
@cqc-alec
Copy link
Collaborator

cqc-alec commented Jun 7, 2024

Please rebase and retarget to main which is now the default branch.

Fixes some type errors that have been seen by users and in other
internal code. Also makes some methods public that were being used by
QuantinuumBackend and fixes some mismatched types.
@johnchildren johnchildren force-pushed the api-object-protocol branch from 3f13d43 to cc117bc Compare June 7, 2024 08:32
@johnchildren johnchildren changed the base branch from develop to main June 7, 2024 08:32
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

Successfully merging this pull request may close these issues.

2 participants