SHARE
TWEET

Untitled

a guest Dec 1st, 2015 62 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. task_api = get_task_service(get_credentials())
  2.  
  3. tasks_to_fetch = 1
  4. lease_req = task_api.tasks().lease(project='myappid',
  5.                                    taskqueue='pdf-queue',
  6.                                    leaseSecs=3600,
  7.                                    numTasks=1)
  8. result = lease_req.execute()
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top