Skip to content

[QUESTION] FugueWorkflowResult & pickle deserialization #470

@bitsofinfo

Description

@bitsofinfo

anyone else doing anything that pickles FugueWorkflowResult ? I'm executing some sql flows over secondary python processes, and running into an error like

return _ForkingPickler.loads(buf.getbuffer())
TypeError: FugueWorkflowResult.__init__() missing 1 required positional argument: 'yields'

i assume this is because FugueWorkflowResult doesn't have provide a no-arg constructor? (not sure actually, not familiar w/ pickle but this smells like a deserialization kind of issue w/ a class not being able to be rematerialized)

I'm getting around this by capturing the result and just extracting the yields and returning that instead prior to being pickled and sent back to the parent process.

Metadata

Metadata

Assignees

No one assigned

    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