Created
January 6, 2022 20:05
-
-
Save anna-geller/c1f82ed7e1f95f7193e92d20d2a61ad7 to your computer and use it in GitHub Desktop.
This file contains 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
from prefect import Flow, Parameter | |
with Flow("parameter-anti-pattern") as flow: | |
dummy_parameter = Parameter("dummy") | |
if __name__ == "__main__": | |
flow.run(parameters=dict(dummy="some_value")) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment