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

refactor(api): Use a dataclass, not a BaseModel, for PipetteNozleLayoutResultMixin #15030

Merged
merged 1 commit into from
Apr 29, 2024

Conversation

SyntaxColoring
Copy link
Contributor

Overview

This class is only used internally, in-memory, and never serialized to JSON. So, make it a @dataclass instead of a pydantic.BaseModel for clarity and performance.

Test Plan

Just CI.

Review requests

None in particular.

Risk assessment

lo

@SyntaxColoring SyntaxColoring requested a review from a team as a code owner April 26, 2024 20:23
Copy link
Member

@sfoster1 sfoster1 left a comment

Choose a reason for hiding this comment

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

love it

@SyntaxColoring SyntaxColoring merged commit e288df0 into edge Apr 29, 2024
26 checks passed
@SyntaxColoring SyntaxColoring deleted the private_results_as_dataclasses branch April 29, 2024 14:17
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.

None yet

2 participants