Did I find the right examples for you? yes no

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

src/p/y/python-veracity-0.0.11/veracity/objects.py   python-veracity(Download)
        else:
            args = name, series, environment, status, cid
        bid, cid, name, series, environment = next(vscript.parse(vscript.report_build(self, 'new', *args),
                                                                 style='builds'))
        return BuildRequest(bid, cid, name=name, series=series, environment=environment,
        args = self, 'get-pending-build', environment, order or BuildRequest.NEWEST, status
        try:
            bid, cid, name, series, environment = next(vscript.parse(vscript.report_build(*args), style='builds'))
        except StopIteration:
            return None
        """
        logging.info("updating build '{b}' to status '{s}' in '{r}'...".format(b=bid, s=status, r=self))
        vscript.report_build(self, 'update', bid, status)
        self.push()  # updated build statuses should always be pushed
 
        """
        logging.info("deleting build '{b}' in '{r}'...".format(b=bid, r=self))
        vscript.report_build(self, 'delete', bid)
 
    @auto_pull
        else:
            args = self, 'list', 'null', 'started#DESC'
        for bid, cid, name, series, environment in vscript.parse(vscript.report_build(*args), style='builds'):
            request = BuildRequest(bid, cid, name=name, series=series, environment=environment, repo=self)
            logging.debug("build request: {0}".format(request))