Skip to content

Add a depends_on directive #1864

@vkarak

Description

@vkarak

I suggest adding a depends_on() directive (not built-in) that will act in the class body. This could essentially simply store the arguments in a special internal variable, that would then call obj.depends_on() during the variable injection. This way, we eliminate the need to define depends_on() in the __init__() method or in a post-init hook, as suggested by #1863.

@jjotero What do you think?

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions