Skip to content

Instantly share code, notes, and snippets.

@zanieb
Created December 8, 2022 16:23
Show Gist options
  • Save zanieb/9b0a1c79c2769ddd171a8a0369975f78 to your computer and use it in GitHub Desktop.
Save zanieb/9b0a1c79c2769ddd171a8a0369975f78 to your computer and use it in GitHub Desktop.
from prefect import Flow, Task, Parameter
class Foobar(Task):
pass
with Flow("example") as flow:
start_at = Parameter("start_at", default=0)
my_task = Foobar()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment