Creating a simple task
In this tutorial we are creating a simple task that adds two numbers. Tasks are defined in normal Python modules.
By convention we will call our module tasks.py, and it looks like this:
@task
def add(x, y):
return x ...In this tutorial we are creating a simple task that adds two numbers. Tasks are defined in normal Python modules.
By convention we will call our module tasks.py, and it looks like this:
@task
def add(x, y):
return x ...