You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug] imports_passed_through() skips sibling submodules imported with from #2135
Pass model and activity modules through the workflow sandbox so they can be reused across workflow runs.
Describe the bug
Inside workflow.unsafe.imports_passed_through(), from pkg import models reloads pkg.models in the sandbox when the workflow also lives in pkg. Changing the import to import pkg.models as models reuses the host module.
The expected behaviour is that both forms should reuse it.
How did you hit this issue?
I have workflows and models in the same package, and was trying to usefrom package import module for these imports inside a passthrough block.
Activity