From 04c40a19774ce8a8a52e2f035d802f55209b3646 Mon Sep 17 00:00:00 2001 From: Auto-format Bot Date: Fri, 11 Aug 2023 16:32:24 +0000 Subject: [PATCH] Automatically reformatting code --- src/groundlight/internalapi.py | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/groundlight/internalapi.py b/src/groundlight/internalapi.py index 448c0459..5d96ff23 100644 --- a/src/groundlight/internalapi.py +++ b/src/groundlight/internalapi.py @@ -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: """ @@ -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":