Skip to content

Commit

Permalink
refac: remove dict return from get project info from s3
Browse files Browse the repository at this point in the history
  • Loading branch information
Pradip-p committed Oct 4, 2024
1 parent 5dffbed commit 1e60042
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/backend/app/projects/project_logic.py
Original file line number Diff line number Diff line change
Expand Up @@ -219,13 +219,6 @@ def get_project_info_from_s3(project_id: uuid.UUID, task_id: uuid.UUID):
log.error(f"An error occurred while accessing assets file: {e}")
raise HTTPException(status_code=500, detail=str(e))

# return {
# "project_id":str(project_id),
# "task_id":str(task_id),
# "image_count":image_count,
# "assets_url":presigned_url,
# }

return project_schemas.AssetsInfo(
project_id=str(project_id),
task_id=str(task_id),
Expand Down

0 comments on commit 1e60042

Please sign in to comment.