[Baypiggies] Google App Engine | Data Store | Interval Data type

David Cramer dcramer at gmail.com
Thu Apr 10 00:08:24 CEST 2008


I'm also going to encourage you to ignore any suggestions (for datatype)
beyond an INT storage mechanism :)

On Wed, Apr 9, 2008 at 3:05 PM, Guido van Rossum <guido at python.org> wrote:

> On Wed, Apr 9, 2008 at 2:41 PM, Eric Walstad <eric at ericwalstad.com> wrote:
> > On Wed, Apr 9, 2008 at 11:56 AM, Glen Jarvis <glen at glenjarvis.com>
> wrote:
> >  >
> >  > In trying to port my application to Google's App Engine, I got stuck
> trying
> >  > to port my data to the Data store. I need an 'interval' data type.
> Example
> >  > data points include  "3 hours, 2 minutes and 13 seconds"  and "0
> hours, 45
> >  > minutes and 15 seconds." (not stored as string, of course, but as a
> time
> >  > interval).
> >  Hm, is your data a datetime.timedelta?
> >  /me wonders if pickling a timedelta to a GAE BlobProperty type might
> >  be enough of a hack to keep you going?
>
> Yuck.
>
> >  Can one subclass the GAE property classes?
>
> Yes you can.
>
> >  Can you tell I've not
> >  touched GAE yet?
> >
> >  Sorry if this is just noise/nonesense
> >
> >
> >
> >  Eric.
> >  _______________________________________________
> >  Baypiggies mailing list
> >  Baypiggies at python.org
> >  To change your subscription options or unsubscribe:
> >  http://mail.python.org/mailman/listinfo/baypiggies
> >
>
>
>
> --
> --Guido van Rossum (home page: http://www.python.org/~guido/<http://www.python.org/%7Eguido/>
> )
> _______________________________________________
> Baypiggies mailing list
> Baypiggies at python.org
> To change your subscription options or unsubscribe:
> http://mail.python.org/mailman/listinfo/baypiggies
>



-- 
David Cramer
Director of Technology
iBegin
http://www.ibegin.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/baypiggies/attachments/20080409/74202c6d/attachment.htm 


More information about the Baypiggies mailing list