Python tasks can be defined using annotations