Thread
#prefect-community
    a

    Andor T贸th

    2 years ago
    hi everyone
    i

    itay livni

    2 years ago
    @Andor T贸th
    from prefect import task
    @task
    def add_something(a):
       n = a + 1
       return n
    n = add_something.run(a)
    a

    Andor T贸th

    2 years ago
    aha, I wasn't aware that each task has a run method
    thanks!
    I was looking for something I'm used to with Airflow 馃檪
    Jeremiah

    Jeremiah

    2 years ago
    Don鈥檛 worry things are easier here 馃槂