kevin

    kevin

    1 year ago
    Hey guys is this a prefect compliant way of defining a task?
    task(
       fn=lambda a, b: a+b,
       name='some_task'
    )(some_a, some_b)
    Chris White

    Chris White

    1 year ago
    Yup!
    @
    is Python syntatic sugar for the exact same thing
    kevin

    kevin

    1 year ago
    awesome, was a little worried b/c my IDE was issuing a warning 😄
    warnings are meant to be ignored i reckon 😛