Skip to content

Commit

Permalink
adding all tasks test support
Browse files Browse the repository at this point in the history
  • Loading branch information
jperez999 committed Nov 27, 2024
1 parent cffb1e4 commit b7e40e5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion client/src/nv_ingest_client/client/interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,8 @@ def all_tasks(self) -> "Ingestor":
.dedup() \
.filter() \
.split() \
.embed()
.embed() \
.store_embed()
# .store() \
# .vdb_upload()
# fmt: on
Expand Down
2 changes: 1 addition & 1 deletion tests/nv_ingest_client/client/test_interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ def test_files_with_remote_files(ingestor_without_doc):
def test_all_tasks_adds_default_tasks(ingestor):
ingestor.all_tasks()

task_classes = {ExtractTask, DedupTask, FilterTask, SplitTask, EmbedTask}
task_classes = {ExtractTask, DedupTask, FilterTask, SplitTask, EmbedTask, StoreEmbedTask}
added_tasks = {
type(task) for job_specs in ingestor._job_specs._file_type_to_job_spec.values() for task in job_specs[0]._tasks
}
Expand Down

0 comments on commit b7e40e5

Please sign in to comment.