Skip to content

Capturing function arguments and results? #4

@ajasja

Description

@ajasja

Is it possible to capture the function arguments and results?

For example:

@task(capture_args=True)
def test(x, y, opt=True)
    return x*y


test(1,2, True)

And then test would have args kwargs and results captured.
I guess manually add_artifacts(*args, *kwargs) to the function could work, but then you have to change the code of the functions...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions