Skip to content

Instantly share code, notes, and snippets.

@myusuf3
Created October 19, 2011 07:17
Show Gist options
  • Save myusuf3/1297659 to your computer and use it in GitHub Desktop.
Save myusuf3/1297659 to your computer and use it in GitHub Desktop.
Checking the state of a task
#assume that task upload already exsists
>>> task = upload_to(note, **kwargs):
>>> print task.state
'PENDING'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment