Did I find the right examples for you? yes no

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

src/m/o/mongodb-backup-system-HEAD/mbs/backup_system.py   mongodb-backup-system(Download)
 
 
from utils import resolve_path, wait_for, get_validate_arg, dict_to_str
 
import mbs_config
 
        self.info("Waiting for backup system to stop")
        wait_for(stopped, timeout=60)
        if stopped():
            self.info("Backup system stopped successfully. Bye!")

src/m/o/mongodb-backup-system-HEAD/mbs/schedule_runner.py   mongodb-backup-system(Download)
from schedule import Schedule
from date_utils import date_now
from utils import wait_for
 
###############################################################################
 
        logger.info("%s: Waiting to stop" % name)
        wait_for(stopped, timeout=60)
 
        if stopped():

src/a/u/autotest-0.16.2/client/shared/aexpect.py   autotest(Download)
 
        # Check if the child has terminated
        if utils.wait_for(lambda: not self.is_alive(), 5, 0, 0.1):
            raise ExpectProcessTerminatedError(patterns, self.get_status(), o)
        else:

src/a/u/autotest-HEAD/client/shared/aexpect.py   autotest(Download)
 
        # Check if the child has terminated
        if utils.wait_for(lambda: not self.is_alive(), 5, 0, 0.1):
            raise ExpectProcessTerminatedError(patterns, self.get_status(), o)
        else: