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: remove a comment
  • Loading branch information
DerekMaggio committed May 30, 2024
commit d1254fe4107ab02dc90d2c28ac6cae640e6e3396
4 changes: 0 additions & 4 deletions api/src/opentrons/util/performance_helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,6 @@ def _get_robot_context_tracker() -> SupportsTracking:

def track_analysis(func: F) -> F:
"""Track the analysis of a protocol and optionally store each run."""
# This will probably not stick around very long but it gives me
# the ability to test this on a robot

# Typing a decorator that wraps a decorator with args, nope
@functools.wraps(func)
async def wrapper(*args, **kwargs): # type: ignore # noqa: ANN002, ANN003, ANN201
tracker: SupportsTracking = _get_robot_context_tracker()
Expand Down
Loading