Skip to content

Commit

Permalink
Automatically reformatting code
Browse files Browse the repository at this point in the history
  • Loading branch information
Auto-format Bot committed Aug 11, 2023
1 parent 9ca3d2d commit 04c40a1
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions src/groundlight/internalapi.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,6 @@ class InternalApiError(ApiException, RuntimeError):
def __init__(self, status=None, reason=None, http_resp=None):
super().__init__(status, reason, http_resp)




class RequestsRetryDecorator:
"""
Expand Down Expand Up @@ -245,11 +243,7 @@ def submit_image_query_with_inspection( # noqa: PLR0913 # pylint: disable=too-m

url = f"{self.configuration.host}/posichecks"

params = {
"inspection_id": inspection_id,
"predictor_id": detector_id,
"patience_time": patience_time
}
params = {"inspection_id": inspection_id, "predictor_id": detector_id, "patience_time": patience_time}
# In the API, 'send_notification' is used to control human_review escalation. This will eventually
# be deprecated, but for now we need to support it in the following manner:
if human_review == "ALWAYS":
Expand Down

0 comments on commit 04c40a1

Please sign in to comment.