Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/groundlight/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -743,7 +743,7 @@ def ask_confident( # noqa: PLR0913 # pylint: disable=too-many-arguments
converted to JPEG at high quality before sending to service.
:param confidence_threshold: The confidence threshold to wait for.
If not set, use the detector's confidence threshold.
:param wait: How long to wait (in seconds) for a confident answer.
:param wait: How long to wait (in seconds) for a confident answer. Default is 30.0.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is confusing because the actual default value is None. So maybe you should say explicitly that if it's None, we default to 30. A better solution would be the default value being 30.

:param metadata: A dictionary or JSON string of custom key/value metadata to associate with
the image query (limited to 1KB). You can retrieve this metadata later by calling
`get_image_query()`.
Expand Down
Loading