Dash() unexpected keyword argument 'sharing'

I’ve recently tried to migrate Dash code across boxes and am running into a few issues along the way. One error that is frustrating and seemingly trivially simple which now appears from my code is the following:

Dash() got an unexpected keyword argument ‘sharing’

And the line of code that I believe to be causing it is:
app = dash.Dash(name='app1', sharing=True, server=server, csrf_protect=False)

Any help would be greatly appreciated.


Try removing sharing=True - That’s not a valid argument.

Thanks for the solution!