Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update docstring #293

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

brandon-groundlight
Copy link
Collaborator

No description provided.

@@ -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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants