Skip to content

Add data object to Functor result #16

Description

@eons44

Functors currently have a result, which is currently their return code. We should expand this value to add data to the result as well. The data in the result may be different than what is returned, and are always persisted until the Functor is rerun or destroyed.

This would be like: this

result = util.DotDict()
result.code = 0
result.data = ""

Tests may need to be adjusted to check this value

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions