Example #1
0
def plugin_download_file(uuid, filename):
    return send_file(kelp_plugin_repo.get_plugin_file(uuid, filename),
                     mimetype="file",
                     as_attachment=True)
Example #2
0
def extension_download_file(uuid, filename):
    return send_file(kelp_module_repo.get_module_file(uuid, filename),
                     mimetype="file",
                     as_attachment=True)