Skip to content

Commit fffb7ed

Browse files
author
brandon
committed
fix linter errors
1 parent d587803 commit fffb7ed

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/groundlight/client.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
from functools import partial
77
from io import BufferedReader, BytesIO
88
from typing import Any, Callable, List, Optional, Tuple, Union
9-
from typing import Any, Callable, List, Optional, Tuple, Union
109

1110
from groundlight_openapi_client import Configuration
1211
from groundlight_openapi_client.api.detector_groups_api import DetectorGroupsApi

src/groundlight/internalapi.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ def _get_detector_by_name(self, name: str) -> Detector:
251251
f"We found multiple ({parsed['count']}) detectors with the same name. This shouldn't happen.",
252252
)
253253
parsed['results'][0]['created_at'] = datetime.fromisoformat(parsed['results'][0]['created_at'])
254-
return Detector._from_openapi_data(**parsed["results"][0])
254+
return Detector._from_openapi_data(**parsed["results"][0]) # pylint: disable=protected-access
255255

256256
@RequestsRetryDecorator()
257257
def start_inspection(self) -> str:

0 commit comments

Comments
 (0)