Assign a task

users is a list of users. Please see this other example to learn how to retrieve all users.

user = users[0]
task = aq.task('1234')
task.assign_to(user_key = user._key)