Did I find the right examples for you? yes no

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

src/p/y/pyf.services-2.0.2/pyf/services/controllers/tasks.py   pyf.services(Download)
    def post(self, *args, **kw):
        self.check_model_permission('create')
        vals = dict()
        vals['type'] = kw['type']
        if vals['type'] == 'interval':

src/p/y/pyf.services-2.0.2/pyf/services/controllers/dispatch.py   pyf.services(Download)
    def upload(self, dispatch_id, doc, variant=None, encoding=None, options=None, **kwargs):
        self.check_model_permission('launch')
        dispatch = DBSession.query(Dispatch).get(dispatch_id)
        router = Router(dispatch)