google-code-export / appengine-devappserver2-experiment

Automatically exported from code.google.com/p/appengine-devappserver2-experiment
0 stars 0 forks source link

eta_posix not supported in taskqueue.Task (eta works) #51

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
taskqueue.Task('/', eta_posix = 1)

Traceback (most recent call last):
  File "/home/user/appengine/d2/google/appengine/tools/devappserver2/python/request_handler.py", line 151, in handle_interactive_request
    exec(compiled_code, self._command_globals)
  File "<string>", line 1, in <module>
  File "/home/user/appengine/d2/google/appengine/api/taskqueue/taskqueue.py", line 667, in __init__
    raise TypeError('Invalid arguments: %s' % ', '.join(args_diff))
TypeError: Invalid arguments: eta_posix

https://developers.google.com/appengine/docs/python/taskqueue/tasks#Task_eta_pos
ix

Original issue reported on code.google.com by pdknsk on 9 Mar 2013 at 11:18

GoogleCodeExporter commented 9 years ago
eta_posix is a property, not a constructor argument.

If you'd like to file a feature request for the taskqueue API, you can do that 
here:
http://code.google.com/p/googleappengine/issues/list

Original comment by bquin...@google.com on 10 Mar 2013 at 9:49

GoogleCodeExporter commented 9 years ago
Sorry, haven't noticed.

Original comment by pdknsk on 10 Mar 2013 at 10:18