Skip to content

Commit

Permalink
circular import
Browse files Browse the repository at this point in the history
  • Loading branch information
zMardone committed Jul 17, 2024
1 parent 8be8cc8 commit 357e65d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/celery.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

from typing import Dict

from app.indexer.indexer_file_manager import IndexerFileManager, add_file_metadata
from app.indexer.indexer_file_manager import IndexerFileManager

from app.indexer.content_bases import ContentBaseIndexer
from app.downloaders.s3 import S3FileDownloader
Expand Down Expand Up @@ -65,6 +65,7 @@ def document_save(
content_base_uuid: str
) -> bool:
from app.main import main_app
from app.indexer.indexer_file_manager import add_file_metadata

storage = main_app.content_base_vectorstore
docs = add_file_metadata(docs, content_base_uuid)
Expand Down

0 comments on commit 357e65d

Please sign in to comment.