Hi,
I'm trying new attachment api, but I cannot get raw data for an
attachment file. The code I tried is following:

  def on_blip_submitted(self, events, wavelet):
    blip = events.blip
    attachment_ref = blip.first(element.Attachment)
    if attachment_ref:
      attachment = attachment_ref.value()
      data = attachment.get('data')
      logging.info(data) # -> None

Could someone tell me what's wrong with this code?

Thanks, in advance.

Ando Yasushi

-- 
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.

Reply via email to