Is there anything akin to a lambda/anonymous task ...
# ask-community
a
Is there anything akin to a lambda/anonymous task in Prefect? E.g. I have an iterable and want to transform it into a dictionary. I could define a task to do so but in this case something that simple could be done with an anonymous function
j
You can do
prefect.task(lambda x, y: ...)(x, y)
a
awesome. Thanks!