Both are okay now. We're looking into something more user-friendly for the future.
2010/6/16 Raphaël Pinson <[email protected]> > > > On Wed, Jun 16, 2010 at 7:14 AM, pamela (Google Employee) < > [email protected]> wrote: > >> Hey Raphael - >> >> I've documented another way in this FAQ: >> http://wave-api-faq.appspot.com/#elementindex >> >> > Thank you Pamela. It still calls private methods. Which one is the > preferred way? > > > Raphaël > > > > >> <http://wave-api-faq.appspot.com/#elementindex>- pamela >> >> 2010/6/16 Raphaël Pinson <[email protected]> >> >>> Hi there again, >>> >>> I've been trying to retrieve gadgets from a blip (python API) and get >>> their index, but there doesn't seem to be such a property for elements. >>> >>> I ended up dropping blip.first() or blip.find() for this: >>> >>> for idx, elem in blip._elements.items(): >>> >>> Is there a cleaner way of getting the index for each element? >>> >>> >>> Raphaël >>> >>> >>> -- >>> You received this message because you are subscribed to the Google Groups >>> "Google Wave API" group. >>> To post to this group, send email to [email protected]. >>> To unsubscribe from this group, send email to >>> [email protected]<google-wave-api%[email protected]> >>> . >>> For more options, visit this group at >>> http://groups.google.com/group/google-wave-api?hl=en. >>> >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Google Wave API" group. >> To post to this group, send email to [email protected]. >> To unsubscribe from this group, send email to >> [email protected]<google-wave-api%[email protected]> >> . >> For more options, visit this group at >> http://groups.google.com/group/google-wave-api?hl=en. >> > > -- > You received this message because you are subscribed to the Google Groups > "Google Wave API" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<google-wave-api%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/google-wave-api?hl=en. > -- You received this message because you are subscribed to the Google Groups "Google Wave API" 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-wave-api?hl=en.
