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

chore(api, performance-metrics): clean up performance-metrics tracking #15289

Merged
Merged
Changes from 1 commit
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
chore: add TODO
  • Loading branch information
DerekMaggio committed Jun 3, 2024
commit f11ba35617d5badcede1f4594cd5fd5bf0e349f9
1 change: 1 addition & 0 deletions api/src/opentrons/util/performance_helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ def _get_robot_context_tracker() -> SupportsTracking:
def track_analysis(func: UnderlyingFunction) -> UnderlyingFunction:
"""Track the analysis of a protocol and optionally store each run."""

# TODO: derek maggio (06-03-2024): generalize creating wrapper functions for tracking different states
@functools.wraps(func)
def wrapper(
*args: UnderlyingFunctionParameters.args,
Expand Down
Loading