Skip to content

Commit

Permalink
Leave a todo for moving should_use_ot3().
Browse files Browse the repository at this point in the history
  • Loading branch information
SyntaxColoring committed May 15, 2024
1 parent c92728e commit d2d820e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions api/src/opentrons/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ def __dir__() -> List[str]:
log = logging.getLogger(__name__)


# todo(mm, 2024-05-15): Having functions in the package's top-level __init__.py
# can cause problems with import performance and circular dependencies. Can this
# be moved elsewhere?
def should_use_ot3() -> bool:
"""Return true if ot3 hardware controller should be used."""
if ff.enable_ot3_hardware_controller():
Expand Down

0 comments on commit d2d820e

Please sign in to comment.