5.4.2.16.1. gemini_interface.blueprint.report.routes

Report Management Routes.


This module handles report generation and management functionality including document upload/download, report listing, and MongoDB/GridFS integration.

Functions

allowed_file(filename)

Check if the uploaded file has an allowed extension.

delete_document()

Delete a document from the project's report collection.

getreportlist()

Get list of reports for a specific project.

open_document()

Download and open a document from the project's report collection.

upload_document()

Upload document files to the project's report collection.

gemini_interface.blueprint.report.routes.allowed_file(filename)[source]

Check if the uploaded file has an allowed extension.

gemini_interface.blueprint.report.routes.delete_document()[source]

Delete a document from the project’s report collection.

gemini_interface.blueprint.report.routes.getreportlist()[source]

Get list of reports for a specific project.

gemini_interface.blueprint.report.routes.open_document()[source]

Download and open a document from the project’s report collection.

gemini_interface.blueprint.report.routes.upload_document()[source]

Upload document files to the project’s report collection.