I am currently using EndpointsModel to create a RESTful API for all my models on AppEngine. Since it is RESTful, these api have a lot of repeat code which I want to avoid.>
In Python 3.5 I have found that a reference to the original function is maintained in the partial. You can access it as .func:
partial
.func
from functools import partial def a(b): print(b) In[20]: c=partial(a,5) In[21]: c.func.__module__ Out[21]: '__main__' In[22]: c.func.__name__ Out[22]: 'a'