Recursion for resolving callbacks
mhalaida opened this issue · comments
I'm trying to extend my callbacks with a custom decorator for error handling & logging:
@callback(
...outputs
...inputs
)
@logging_decorator
def update_graph()
...
This works okay with native dash
callbacks, but does not with dash-extensions
callbacks, I assume dash-extensions
resolves them differently. The error trace leads to line 1049 in enrich.py
, I see there's a comment:
#Replace args and kwargs. # TODO: Is recursion needed?
Could this be related to how custom decorators are treated? If so, do you think this is something that could be addressed?