Skip to content

Commit

Permalink
fix(upload_and_vectorize_handler): clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
nRamstedt committed Nov 15, 2024
1 parent 1551c5e commit be1f2d4
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions fai-rag-app/fai-backend/fai_backend/documents/routes.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,6 @@
from fai_backend.framework import events as e
from fai_backend.logger.route_class import APIRouter as LoggingAPIRouter
from fai_backend.phrase import phrase as _
from fai_backend.projects.dependencies import get_project_service, list_projects_request
from fai_backend.projects.schema import ProjectResponse
from fai_backend.projects.service import ProjectService
from fai_backend.schema import ProjectUser
from fai_backend.vector.dependencies import get_vector_service
from fai_backend.vector.service import VectorService
Expand Down Expand Up @@ -122,8 +119,6 @@ async def upload_and_vectorize_handler(
file_service: FileUploadService = Depends(get_file_upload_service),
vector_service: VectorService = Depends(get_vector_service),
view=Depends(get_page_template_for_logged_in_users),
projects: list[ProjectResponse] = Depends(list_projects_request),
project_service: ProjectService = Depends(get_project_service),
collection_service: CollectionService = Depends(get_collection_service),
) -> list:
upload_path = file_service.save_files(project_user.project_id, files)
Expand Down

0 comments on commit be1f2d4

Please sign in to comment.