Skip to content

Commit

Permalink
updated has_tip docstrings
Browse files Browse the repository at this point in the history
  • Loading branch information
sanni-t committed Feb 4, 2025
1 parent 2b87a7a commit 435c45f
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions api/src/opentrons/protocol_api/labware.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,13 @@ def parent(self) -> Labware:
@property
@requires_version(2, 0)
def has_tip(self) -> bool:
"""Whether this well contains a tip. Always ``False`` if the parent labware
isn't a tip rack."""
"""Whether this well contains a clean tip.
From API v2.2 on: Returns ``False`` if the well has an unclean tip.
Before API v2.2: Returns ``True`` as long as the well has a tip, even if it is unclean.
Always ``False`` if the parent labware isn't a tip rack.
"""
return self._core.has_tip()

@has_tip.setter
Expand Down

0 comments on commit 435c45f

Please sign in to comment.