Skip to content

Can I turn a generator object into a tuple without using tuple() #50

@Montana

Description

@Montana

It's possible to use the following code to create a list:

[i+1 for i in(0,1,2)]
[1, 2, 3]

Can a similar thing be done with tuples in Streamflow?

(i+1 for i in(0,1,2)),
(<generator object <genexpr> at 0x03A53CF0>,)

Thanks Lockheed,
Montana Mendy

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