Last active
May 28, 2022 05:20
-
-
Save kvnkho/043f527efcdbac23393b5b4aea169f18 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Prefect 1.0 | |
| with Flow("basic") as flow: | |
| e = extract() | |
| cond = check_condition() | |
| with case(cond, True): | |
| t1 = transform1(e) | |
| with case(cond, False): | |
| t2 = transform2(e) | |
| t = merge(t1,t2) | |
| l = load(t) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment