Did I find the right examples for you? yes no

All Samples(3)  |  Call(2)  |  Derive(0)  |  Import(1)

src/p/y/pyf.services-2.0.2/pyf/services/controllers/crud.py   pyf.services(Download)
import pylons
 
from pyf.services.core.docs import trim
 
def has_model_permission(perm_name):
    def docs(self):        
        return dict(title=self.model.__name__,
                    description=publish_parts(trim(self.model.__doc__),
                                              writer_name="html")["html_body"],
                    contents=((key,
                               publish_parts(trim(value.__doc__),