Skip to content

Commit 6569fb1

Browse files
committed
darglint
1 parent c3e1792 commit 6569fb1

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

src/agentlab/analyze/agent_xray.py

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -531,9 +531,17 @@ def wrapper(*args, **kwargs):
531531

532532

533533
def tag_screenshot_with_action(screenshot: Image, action: str) -> Image:
534-
"""If action is a coordinate action, try to render it on the screenshot.
534+
"""
535+
If action is a coordinate action, try to render it on the screenshot.
535536
536537
e.g. mouse_click(120, 130) -> draw a dot at (120, 130) on the screenshot
538+
539+
Args:
540+
screenshot: The screenshot to tag.
541+
action: The action to tag the screenshot with.
542+
543+
Returns:
544+
The tagged screenshot.
537545
"""
538546
if action.startswith("mouse_click"):
539547
coords = action[action.index("(") + 1 : action.index(")")].split(",")

0 commit comments

Comments
 (0)