BaseRestartWorkChain
's process_handler
is not compatible with the deprecation
decorator
#5577
Open
2 tasks done
Labels
Describe the bug
I would like to deprecate a handler using the
deprecation
module. Unfortunately, this doesn't seem to be possible. If I place them like so:I then get:
If I place those two decorators in the reverse order, I get this:
Steps to reproduce
Steps to reproduce the behaviour:
Decorate a process handler with
deprecation.deprecated
and try to run the work chain that calls it.Expected behaviour
The process handler runs normally.
Your environment
The text was updated successfully, but these errors were encountered: