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

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

src/a/s/astral-HEAD/astral/api/handlers/streams.py   astral(Download)
        self.request.arguments.setdefault('source', Node.me().uuid)
        if Stream.get_by(name=self.request.arguments['name']):
            self.redirect("%s/upload" % settings.ASTRAL_WEBSERVER)
            return
        stream = Stream.from_dict(self.request.arguments)
            log.warning("Stream with name %s likely already existed at server",
                    self.request.arguments['name'])
            self.redirect("%s/upload" % settings.ASTRAL_WEBSERVER)
            return
        self.redirect("%s/stream/%s/publish"

src/a/s/astral-HEAD/astral/api/handlers/tickets.py   astral(Download)
 
        new_ticket = self.handle_ticket_request(stream, destination)
        self.redirect(new_ticket.absolute_url())
 
    def get(self):