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

Guido van Rossum guido at python.org
Thu Apr 10 00:05:25 CEST 2008


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/)


More information about the Baypiggies mailing list