Andor Tóth
02/28/2020, 2:20 PMDylan
02/28/2020, 2:57 PMipython
session, you can run a task by calling the task’s run method directly:
from prefect import task
@task
def my_task():
print("Hello, World!")
output = my_task.run()
Nicholas Perrott
03/03/2020, 3:52 AMDylan
03/03/2020, 6:52 PM