Skip to content

Instantly share code, notes, and snippets.

@SupermanScott
Last active October 5, 2015 14:28
Show Gist options
  • Save SupermanScott/2821439 to your computer and use it in GitHub Desktop.
Save SupermanScott/2821439 to your computer and use it in GitHub Desktop.
start.py
Python 2.7.3 (default, Apr 20 2012, 22:39:59)
[GCC 4.6.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import time
>>> import tasks
>>> tasks.new_activity.delay(1, time.time(), 'picture')
<AsyncResult: 1cffc586-0442-4824-8c8f-7fc2c72de1ff>
>>> tasks.new_activity.delay(1, time.time(), 'like')
<AsyncResult: 20683c9f-676d-4f52-a911-b561f651bb0b>
>>> tasks.new_activity.delay(1, time.time(), 'picture')
<AsyncResult: 4e19bdc3-2c19-442a-93f9-065d22bdcdc9>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment