From 33f0b1b58d1f7686edb7f8107579c7a8bf3aaea0 Mon Sep 17 00:00:00 2001 From: Tim Huff Date: Tue, 1 Aug 2023 18:02:07 -0700 Subject: [PATCH] linter issues --- src/groundlight/client.py | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/groundlight/client.py b/src/groundlight/client.py index 67c5171e..74535627 100644 --- a/src/groundlight/client.py +++ b/src/groundlight/client.py @@ -268,20 +268,20 @@ def add_label(self, image_query: Union[ImageQuery, str], label: Union[Label, str def start_inspection(self) -> str: """Starts an inspection report and returns the id of the inspection.""" - return self.api_client._start_inspection() # pylint: disable=protected-access + # pylint: disable=protected-access + return self.api_client._start_inspection() def update_inspection_metadata(self, inspection_id: str, user_provided_key, user_provided_value) -> None: """Add/update inspection metadata with the user_provided_key and user_provided_value.""" - self.api_client._update_inspection_metadata( - inspection_id, user_provided_key, user_provided_value - ) # pylint: disable=protected-access + # pylint: disable=protected-access + self.api_client._update_inspection_metadata(inspection_id, user_provided_key, user_provided_value) def stop_inspection(self, inspection_id: str) -> None: """Stops an inspection and raises an exception if the response from the server does not indicate success.""" - self.api_client._stop_inspection(inspection_id) # pylint: disable=protected-access + # pylint: disable=protected-access + self.api_client._stop_inspection(inspection_id) def update_detector_confidence_threshold(self, detector_id: str, confidence_threshold: float) -> None: """Updates the confidence threshold of a detector.""" - self.api_client._update_detector_confidence_threshold( - detector_id, confidence_threshold - ) # pylint: disable=protected-access + # pylint: disable=protected-access + self.api_client._update_detector_confidence_threshold(detector_id, confidence_threshold) \ No newline at end of file