Max Kolasinski
Seth Coussens
JV
"errorMessage": "HTTP Error 404: Not Found"
<https://api.prefect.io>
<https://api.prefect.cloud/>
John Kang
Sang Young Noh
Eren Bilaloglu
Vlad S
Muddassir Shaikh
Brian Oldak
prefect.yaml
Sean Conroy
TypeError: 'list' object does not support the context manager protocol
TypeError: 'generator' object does not support the context manager protocol
from prefect import flow, task, tags from prefect.context import TagsContext def add_tags(tag): with tags(tag): yield @flow() def my_flow(): # print(TagsContext.get().current_tags) print('inside flow') tag_list = ['mytag1', 'mytag2'] with [add_tags(x) for x in tag_list]: my_flow()
Bring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.