hi everyone
# ask-community
a
hi everyone
馃憢 6
i
@Andor T贸th
Copy code
from prefect import task
@task
def add_something(a):
   n = a + 1
   return n
n = add_something.run(a)
馃憤 1
a
aha, I wasn't aware that each task has a run method
thanks!
I was looking for something I'm used to with Airflow 馃檪
j
Don鈥檛 worry things are easier here :)