Skip to content

Explicit support for user-level sharing of data between tasks #261

@brejoc

Description

@brejoc

Version 0.7 of invoke passed arguments also to the pre-tasks. Seems like this is not happening with 0.10.1.

Example:

@task
def task2(argument):
    # do something

@task1("task2")
def task1(argument):
    # do something

With version 0.7 invoke task1 --argument foo would execute task2 and then task1. This also happens with v0.10.1, but with v0.7 both tasks would get the argument "foo". This is not happening with v0.10.1.

PS: I know that the pre tasks are no longer passed as a string in the decorator.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions