Skip to content

Commit

Permalink
linter issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Tim Huff authored and Tim Huff committed Aug 2, 2023
1 parent 431a0fb commit 33f0b1b
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/groundlight/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit 33f0b1b

Please sign in to comment.