[Baypiggies] Google App Engine | Data Store | Interval Data type
Eric Walstad
eric at ericwalstad.com
Wed Apr 9 23:41:06 CEST 2008
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?
Can one subclass the GAE property classes? Can you tell I've not
touched GAE yet?
Sorry if this is just noise/nonesense
Eric.
More information about the Baypiggies
mailing list