Skip to content

Commit d4d24b5

Browse files
committed
Merge branch 'tim/fix-flaky-detector-name-collision' of github.com:groundlight/python-sdk into tim/fix-flaky-detector-name-collision
2 parents 3c5b586 + e60fad9 commit d4d24b5

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

test/integration/test_groundlight.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -106,9 +106,7 @@ def test_create_detector(gl: Groundlight, detector_name: Callable):
106106
), "We expected the default confidence threshold to be used."
107107

108108
# Test creating dectors with other modes
109-
count_detector = gl.create_detector(
110-
name=detector_name(), query=query, mode=ModeEnum.COUNT, class_names="dog"
111-
)
109+
count_detector = gl.create_detector(name=detector_name(), query=query, mode=ModeEnum.COUNT, class_names="dog")
112110
assert str(count_detector)
113111
multiclass_detector = gl.create_detector(
114112
name=detector_name(), query=query, mode=ModeEnum.MULTI_CLASS, class_names=["dog", "cat"]

0 commit comments

Comments
 (0)