File tree Expand file tree Collapse file tree 2 files changed +12
-0
lines changed
Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -950,6 +950,7 @@ def get_continuous_indexing_status(self):
950950 "total_images": Count of images in the dataset
951951 "indexed_images": Count of images with embeddings in the dataset
952952 "percent_indexed": Percent of images in the dataset that have been successfully indexed
953+ "additional_context": Additional context to the response
953954 }
954955 """
955956 return self ._client .make_request (
Original file line number Diff line number Diff line change @@ -568,3 +568,14 @@ def test_dataset_item_metadata_update(dataset):
568568 }
569569
570570 assert actual_metadata == expected_metadata
571+
572+
573+ @pytest .mark .integration
574+ def test_dataset_get_continuous_indexing_status (dataset ):
575+ items = make_dataset_items ()
576+ dataset .append (items )
577+
578+ response = dataset .get_continuous_indexing_status ()
579+ assert response ["total_images" ] == len (items )
580+ assert response ["indexed_images" ] <= len (items )
581+ assert response ["percent_indexed" ] >= 0
You can’t perform that action at this time.
0 commit comments