Hi Tom,

All you need to do is provide a conversion function that converts a string
to the desired field type. In the case of a User object, that's simply the
users.User constructor, which takes an email string.

class FooLoader(bulkloader.Loader):

  def __init__(self):
    bulkloader.Loader.__init__(self, 'Foo',

                               [('user', users.User)])

-Nick Johnson

On Tue, Jul 28, 2009 at 3:03 AM, Tom Miller <tom.h.mil...@gmail.com> wrote:

>
> Hello,
>
> Is there a way to use the bulkloader module to load and export a
> UserProperty?
>
> Thanks,
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to