mirror of
https://github.com/imartinez/privateGPT.git
synced 2026-07-17 01:48:03 +00:00
fix: mypy
This commit is contained in:
@@ -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)
|
||||
)
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user