def adapt_persistent_instance(persistent_object, target_rest_class=None, attribute_filter=None):
return adapters.adapt_persistent_instance(persistent_object, target_rest_class, attribute_filter)<EOL>
Wrapper on adapters.adapt_persistent_instance for Google App Engine NDB