[Google-Docs-Data-APIs] Re: Create python MediaSource without a file?
That was perfect. And the unit tests seem to be a great reference. Thanks Eric! On Apr 1, 1:44 pm, Eric Bidelman api.e...@google.com wrote: The unit tests have an example of using a stream:http://code.google.com/p/gdata-python-client/source/browse/trunk/test... Eric On Wed, Apr 1, 2009 at 9:34 AM, AN data2w...@gmail.com wrote: In app engine - if I want to create a gdata.MediaSource - what are the options? The MediaSource class wants a file_path but app. engine won't allow that. I believe I'll have to get a blob from the database. The Java API allows a byte[] as an input but can't find an equivalent in the Python API. Please advise.. Thanks! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Docs Data APIs group. To post to this group, send email to Google-Docs-Data-APIs@googlegroups.com To unsubscribe from this group, send email to google-docs-data-apis+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Docs-Data-APIs?hl=en -~--~~~~--~~--~--~---
[Google-Docs-Data-APIs] Re: Create python MediaSource without a file?
The unit tests have an example of using a stream: http://code.google.com/p/gdata-python-client/source/browse/trunk/tests/gdata_tests/docs/service_test.py#327 Eric On Wed, Apr 1, 2009 at 9:34 AM, AN data2w...@gmail.com wrote: In app engine - if I want to create a gdata.MediaSource - what are the options? The MediaSource class wants a file_path but app. engine won't allow that. I believe I'll have to get a blob from the database. The Java API allows a byte[] as an input but can't find an equivalent in the Python API. Please advise.. Thanks! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Docs Data APIs group. To post to this group, send email to Google-Docs-Data-APIs@googlegroups.com To unsubscribe from this group, send email to google-docs-data-apis+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Docs-Data-APIs?hl=en -~--~~~~--~~--~--~---