Skip to content

Commit

Permalink
docs: use examples instead of example (the former was deprecated)
Browse files Browse the repository at this point in the history
  • Loading branch information
NiklasNeugebauer committed Oct 24, 2024
1 parent 72a2290 commit 8975602
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion learning_loop_node/detector/rest/detect.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ async def http_detect(
tags: Optional[str] = Header(None, description='Tags to add to the image (used by learning loop)'),
source: Optional[str] = Header(None, description='The source of the image (used by learning loop)'),
autoupload: Optional[str] = Header(None, description='Mode to decide whether to upload the image to the learning loop',
example='filtered, all, disabled'),
examples=['filtered', 'all', 'disabled']),
):
"""
Single image example:
Expand Down

0 comments on commit 8975602

Please sign in to comment.