fohrloop / dash-uploader

The alternative upload component for python Dash applications.
MIT License
141 stars 29 forks source link

AttributeError: module 'dash_uploader' has no attribute 'UploadStatus' #95

Closed FreireAlexander closed 1 year ago

FreireAlexander commented 2 years ago

I've been trying to use the demo code and I receive this message.

def callback_on_completion(status: du.UploadStatus):

AttributeError: module 'dash_uploader' has no attribute 'UploadStatus'

I'm usingh demo code

fohrloop commented 2 years ago

I guess you have an older version of dash-uploader installed. Try the pre-release 0.7.0-a1. Note that to install a pre-release with pip, you need to use the --pre flag.

fohrloop commented 1 year ago

Since there has been no activity in several months, I assume that the --pre flag resolved the issue. Feel free to reopen if needed.