dash-uploader
dash-uploader copied to clipboard
Upload to DB support
I am trying to find a way on how to handle that uploaded file, convert it to pandas db using read_csv, and then upload it to my mongo database. I have created the "/upload" endpoint, but for some reason, I am not hitting that endpoint. I have attached the image for the code. Any ideas will be appreciated.
Hi @MaksadAnnamuradov ,
You do not have to manually define @app.server.route
. This is done automatically by dash-uploader in the du.configure_upload
step.
The part "convert it to pandas db using read_csv, and then upload it to my mongo database" is not related to dash-uploader but is a separate problem. You can do this inside a callback.