fix: mypy

This commit is contained in:
Javier Martinez
2026-07-14 13:43:19 +02:00
parent 3726b81d60
commit 00a5633509
2 changed files with 0 additions and 2 deletions

View File

@@ -103,7 +103,6 @@ def vector_index_task(body: IngestAsyncBody) -> Any:
)
service = get_global_injector().get(IngestService)
content = body.ingest_body.input.to_binary_content(
filename=get_file_name(body.ingest_body.metadata)
)

View File

@@ -130,7 +130,6 @@ class CeleryIngestionScheduler(BaseIngestionScheduler):
collection=ingest_body.ingest_body.collection,
artifact=ingest_body.ingest_body.artifact,
)
if ingest_body.ingest_body.input:
should_upload = (
not isinstance(ingest_body.ingest_body.input, UriArtifact)