Skip to content

Commit

Permalink
Merge branch 'hotfix_placeholder_result' of github.com:groundlight/py…
Browse files Browse the repository at this point in the history
…thon-sdk into hotfix_placeholder_result
  • Loading branch information
brandon-groundlight committed Dec 13, 2024
2 parents 5fee2b8 + 5cd0147 commit 9ff8325
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions test/unit/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,19 +47,20 @@ def fixture_image_query_no(gl: Groundlight, detector: Detector) -> ImageQuery:
def _gl() -> ExperimentalApi:
return ExperimentalApi()


@pytest.fixture(name="initial_iq")
def fixture_initial_iq() -> ImageQuery:
return ImageQuery(
metadata=None,
id="iq_fakeidhere",
type=ImageQueryTypeEnum.image_query,
created_at=datetime.utcnow(),
query = "Is there a dog?",
query="Is there a dog?",
detector_id="det_fakeidhere",
result_type=ResultTypeEnum.binary_classification,
result=None,
patience_time=30,
confidence_threshold=0.9,
rois=None,
text=None,
)
)

0 comments on commit 9ff8325

Please sign in to comment.