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

Change return type of CircuitRepeatBlock.name to str #777

Conversation

nelimee
Copy link
Contributor

@nelimee nelimee commented Jun 6, 2024

The correct return type for this method should be str as the documentation guarantees that this specific method returns "REPEAT".

Fixes #776

The correct return type for this method should be `str` as the documentation guarantees that this specific method returns `"REPEAT"`.
@Strilanc
Copy link
Collaborator

Good idea, but you edited the generated docs instead of the source. I finished this in #783

@Strilanc Strilanc closed this Jun 11, 2024
Strilanc added a commit that referenced this pull request Jun 11, 2024
The correct return type for this method should be `str` as the
documentation guarantees that this specific method returns `"REPEAT"`.

Derived from #777

Fixes #776

---------

Co-authored-by: Adrien Suau <[email protected]>
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.

Small typing issue in the Python method CircuitRepeatBlock.name
2 participants