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

QOL updates from running benchmark samples #498

Merged
merged 4 commits into from
Jan 20, 2024
Merged

Conversation

granawkins
Copy link
Member

Changes that I made while working with samples/benchmarks.

@@ -83,5 +86,5 @@ def to_json(self):
return json.dumps(self.to_dict())

@classmethod
def from_json(cls, json_str):
def from_json(cls, json_str: str) -> "BenchmarkResult":
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
def from_json(cls, json_str: str) -> "BenchmarkResult":
def from_json(cls, json_str: str) -> Self:

Copy link
Member

Choose a reason for hiding this comment

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

Looks like this isn't a feature in python 3.11?

Copy link
Member Author

Choose a reason for hiding this comment

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

ya fwiw this broke the macos tests, I switch to from __future__..

@granawkins granawkins changed the title qop updates from running benchmark samples QOL updates from running benchmark samples Jan 19, 2024
@granawkins granawkins merged commit baa69a1 into main Jan 20, 2024
16 checks passed
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.

3 participants