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

[cg.workflow] Update str(ProcessorRecord) #5012

Merged
merged 3 commits into from
Feb 24, 2022

Conversation

mpharrigan
Copy link
Collaborator

These should be good for e.g. plot legends

These should be good for e.g. plot legends
@@ -70,6 +70,9 @@ def get_processor(self) -> 'cg.EngineProcessor':
def __repr__(self):
return dataclass_repr(self, namespace='cirq_google')

def __str__(self):
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit:

Suggested change
def __str__(self):
def __str__(self) -> str:

Copy link
Collaborator

@MichaelBroughton MichaelBroughton left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM after victory comment.

@mpharrigan mpharrigan added the automerge Tells CirqBot to sync and merge this PR. (If it's running.) label Feb 24, 2022
@CirqBot CirqBot added the front_of_queue_automerge CirqBot uses this label to indicate (and remember) what's being merged next. label Feb 24, 2022
@CirqBot CirqBot merged commit 6f9e277 into quantumlib:master Feb 24, 2022
@CirqBot CirqBot removed automerge Tells CirqBot to sync and merge this PR. (If it's running.) front_of_queue_automerge CirqBot uses this label to indicate (and remember) what's being merged next. labels Feb 24, 2022
95-martin-orion pushed a commit to 95-martin-orion/Cirq that referenced this pull request Mar 2, 2022
These should be good for e.g. plot legends
rht pushed a commit to rht/Cirq that referenced this pull request May 1, 2023
These should be good for e.g. plot legends
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/workflow Size: XS <10 lines changed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants