Skip to content

Commit 435c45f

Browse files
committed
updated has_tip docstrings
1 parent 2b87a7a commit 435c45f

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

api/src/opentrons/protocol_api/labware.py

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,8 +117,13 @@ def parent(self) -> Labware:
117117
@property
118118
@requires_version(2, 0)
119119
def has_tip(self) -> bool:
120-
"""Whether this well contains a tip. Always ``False`` if the parent labware
121-
isn't a tip rack."""
120+
"""Whether this well contains a clean tip.
121+
122+
From API v2.2 on: Returns ``False`` if the well has an unclean tip.
123+
Before API v2.2: Returns ``True`` as long as the well has a tip, even if it is unclean.
124+
125+
Always ``False`` if the parent labware isn't a tip rack.
126+
"""
122127
return self._core.has_tip()
123128

124129
@has_tip.setter

0 commit comments

Comments
 (0)