Skip to content

Delete files and corresponding index when they are removed from the filenode #89

Description

@garvk

When a file is removed from the FileFields Node then the file should also be deleted from the storage. Also, It's 'index' if created should also be deleted.

For example, if second file is removed in the screenshot, its file and index should be deleted.
Image

Likely steps:

  1. Create two endpoints in flask_app.py to delete file and delete index with necessary inputs
  2. Call the two endpoints when file is removed

Metadata

Metadata

Assignees

No one assigned

    Labels

    backlogPart of a product backlogenhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions