Skip to content

[Bug] Workflow interceptors initialized before some attributes set in instance constructor #874

Open
@cretz

Description

@cretz

Describe the bug

People need to be able to do things in inbound init (or outbound constructor which is often in there) such as set_signal_handler, but this fails on the _assert_not_read_only of that call because it checks self._deleting which is not created until after interceptor init. Move the interceptor create/init to the end of the workflow instance constructor.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions