I offerred to buy Nick a shot/glass of what ever he likes to drink if
he can make this happen.  He looked pretty tempted. Maybe if a few
other people volunteer to contribute a shot/glass we can help this
along....  Of course staring the issue is a good start too.

Pull queues make a lot of very neat things possible.  Having some type
of grouping will make some truly awesome things possible.



Robert





On Tue, May 17, 2011 at 00:16, Jeff Schnitzer <[email protected]> wrote:
> I (and, from the sound of it, a million other people) asked Nick this
> exact question at I/O, and it sounds like this is near the top of the
> list for the Task Queue team.
>
> (but yeah, I starred it too)
>
> Jeff
>
> On Mon, May 16, 2011 at 6:53 PM, Jason Collins
> <[email protected]> wrote:
>> As pointed out by all-around-smart-dude Robert Kluin, it would be
>> great if you could place arbitrary tags on a task when submitting to a
>> pull queue, and then lease the tasks back out with that tag. This
>> would provide a great, built-in mechanism to do groupings, etc.
>>
>> This would yield:
>>
>>  q = taskqueue.Queue('pull0')
>>  q.add(taskqueue.Task(payload=payload_str, method='PULL',
>> tag='mytag'))
>>
>> and
>>
>>  q = taskqueue.Queue('pull0')
>>  sometasks = q.lease_tasks(3600, 100, tag='mytag')
>>
>> where "tag" is an optional kwarg in both cases.
>>
>> Star http://code.google.com/p/googleappengine/issues/detail?id=5061,
>> or discuss there.
>>
>> --
>> You received this message because you are subscribed to the Google Groups 
>> "Google App Engine" group.
>> To post to this group, send email to [email protected].
>> To unsubscribe from this group, send email to 
>> [email protected].
>> For more options, visit this group at 
>> http://groups.google.com/group/google-appengine?hl=en.
>>
>>
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Google App Engine" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group at 
> http://groups.google.com/group/google-appengine?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.

Reply via email to