Open anmyachev opened 6 months ago
For example:
The situation can be improved with the help of the following workaround proposed here:
traceable_name = f"wrapped_fn_{fn.__name__}" wrapped_fn.__name__ = traceable_name ### PATCH - better profiling resolution wrapped_fn.__code__ = wrapped_fn.__code__.replace(co_name=traceable_name)
With these changes (applied for run_and_log function) the graph will look something like this:
run_and_log
For example:
The situation can be improved with the help of the following workaround proposed here:
With these changes (applied for
run_and_log
function) the graph will look something like this: