dash-uploader icon indicating copy to clipboard operation
dash-uploader copied to clipboard

module 'dash_uploader' has no attribute 'UploadStatus'

Open VirajOke opened this issue 1 year ago • 3 comments

The callback function.

@du.callback(
    output= Output("analyze-val", "disabled"),
    id= "dash-uploader",
)
def callback_on_completion(status: du.UploadStatus):
        return False

Error:

def callback_on_completion(status: du.UploadStatus):
AttributeError: module 'dash_uploader' has no attribute 'UploadStatus'

I am new to DU and Plotly dash development in general, have I missed something? This is error is quite unexpected as there's not much that could go wrong with this basic code. Any suggestions? Thank you in advance.

VirajOke avatar Oct 24 '22 16:10 VirajOke