Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
DerekMaggio committed Apr 23, 2024
1 parent af5ac2c commit 912afb3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion api/src/opentrons/util/performance_helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
RobotTypeEnum.robot_literal_to_enum(robot_configs.load().model)
)


class StubbedTracker(SupportsTracking):
"""A stubbed tracker that does nothing."""

Expand All @@ -40,7 +41,6 @@ def store(self) -> None:
pass



def _handle_package_import() -> Type[SupportsTracking]:
"""Handle the import of the performance_metrics package.
Expand All @@ -57,6 +57,7 @@ def _handle_package_import() -> Type[SupportsTracking]:
package_to_use = _handle_package_import()
_robot_context_tracker: SupportsTracking | None = None


def _get_robot_context_tracker() -> SupportsTracking:
"""Singleton for the robot context tracker."""
global _robot_context_tracker
Expand Down

0 comments on commit 912afb3

Please sign in to comment.