Skip to content

Deactivate Plans in Plans #2707

@LaRiffle

Description

@LaRiffle

Plans should not be executed as Plans when they are included in another Plans. This allows to easily extend Plan or to cut Plans in small modules which can also be run individually as Plans.

Examples:

@func2plan
def foo1(x):
     return x + 1

@func2plan
def foo2(x):
     y = foo1(x)
     return y * 2

Idea: create a variable global at worker scale when a plan is being built to force other plans to run as normal functions.

Metadata

Metadata

Assignees

Labels

Type: New Feature ➕Introduction of a completely new addition to the codebase

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions