tfrecord-viewer
tfrecord-viewer copied to clipboard
Error when used with Flask 2.2
The flask function 'send_file', used on line 173 of tfviewer.py, doesn't use the 'attachment_filename' keyword as of Flask 2.2. It seems to have been replaced with the 'download_name' keyword.
This could be fixed while maintaining backwards compatibility by checking flask.version first and deciding which keyword to send based on that.