We’re trying to port an app onto Dash but are having a bit of trouble. One issue I haven’t found a workaround for is using dash within class definitions ----
@app.callback(Output('comp-id', 'value'), [Input('interval-id2', 'n_intervals)]) def foo(self): return self.bar()
I get an error that ‘int’ self has no attribute ‘bar()’. Is there a way to support self in callback definitions or have dash ignore it?? or better yet, mix dash params with ordinary params?