Forgot one extra question about the docs

Key docs say

<quote 
href='http://code.google.com/appengine/docs/python/datastore/keyclass.html#Key_from_path'>

  Key.from_path(kind, id_or_name, parent=none, namespace=None, **kwds)
[snip]
  For example, the following call creates a key for an entity of kind 
Address with the numeric ID 9876 whose parent is an entity of kind User with 
the named key 'Boris':
k = Key.from_path('User', 'Boris', 'Address', 9876)

</quote>

I take it the example is incorrect in that the params are jumbled compared 
to the docs, again I checked the source but my python-foo with respects to 
"*args" and "**kwargs" and the like is a little vague... 

I take it the example should be something like

  k = Key.from_path('Address', 9876, parent=Key.from_path('User', 'Boris'))

--
T


-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/sdylOAbJXogJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.

Reply via email to