I'm getting this error when i try to run my python code

[2018-03-14 02:56:59,180] ERROR in app: Exception on /_dash-update-component [POST] - - [14/Mar/2018 02:56:59] “POST /_dash-update-component HTTP/1.1” 500

I believe this happens when i try to update my input and use it in my own defined function, and when I try to use the input value inside my function it prints the function

Can you share a small, reproducable example that demonstrates this issue?

I have shared a similar problem.

Here is the link:-