Hello, I am new to Prefect. I want to structure my code so it can be run as Prefect workflow and optionally normal python program (Not as Prefect workflow). All functions has Task decorator and it can't be called like normal Python function. Please advise.
7 months ago
Hey @Patrick Tan, you can call a task with task.run()so
or you can convert a function to a task during runtime