Rasjid Wilcox
unread,Mar 20, 2013, 9:12:09 AM3/20/13Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to prestans...@googlegroups.com
Hi there,
Still exploring Prestans, so maybe I've just missed something, but for me there seems to be a couple of things missing from Prestans.
The model adaptors seem to be for a list of persistent objects -> json representations. I could not find anything (ie, a single function equivalent to QueryResultIterator) for adapting a single persistent object to a single json representation, such as might be required for the 'get' of a single object. Now, this was not hard to write, and is just a minor variation on the existing code, but to me seems like a gap in the API given that it should be a fairly common operation.
I also can't see anything going the other way - ie, for adapting json representations to persistent objects, such as would be required for a 'put'.
If I've missed something obvious, please let me know. If not, I'll finish up versions at least for sqlalchemy and share. I assuming that the best way to share would be via a fork on GitHub, although just as happy to post bits of code to the list.
Cheers,
Rasjid.