Skip to content

Instantly share code, notes, and snippets.

@kvnkho
Last active May 28, 2022 05:14
Show Gist options
  • Select an option

  • Save kvnkho/9c7deb359f8c13fbf2a8927210836b00 to your computer and use it in GitHub Desktop.

Select an option

Save kvnkho/9c7deb359f8c13fbf2a8927210836b00 to your computer and use it in GitHub Desktop.
# Prefect 1.0 - Incorrect Usage
with Flow("basic") as flow:
e = extract()
cond = check_condition(e)
if cond == True:
t = transform1(e)
else:
t = transform2(e)
l = load(t)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment