Did I find the right examples for you? yes no      Crawl my project      Python Jobs

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

src/m/o/mozpool-4.1.5/mozpool/mozpool/handlers.py   mozpool(Download)
from mozpool import config
from mozpool.db import exceptions
from mozpool.web.handlers import Handler, requestredirect, nocontent, ConflictJSON
 
urls = (
            raise web.badrequest()
        self.db.requests.renew(request_id, new_duration)
        raise nocontent()
 
class request_return(Handler):
    @requestredirect
    def POST(self, request_id):
        mozpool.mozpool.driver.handle_event(int(request_id), 'close', None)
        raise nocontent()