Did I find the right examples for you? yes no

All Samples(6)  |  Call(3)  |  Derive(0)  |  Import(3)

        def get_default_executor():
    return StandardExecutor()
        


src/r/o/rosrelease-0.2.12/src/rosrelease/vcs_support.py   rosrelease(Download)
import vcstools
 
from .executor import get_default_executor
 
def checkout_branch(distro_stack, branch_name, executor):
def tag_release(distro_stack, checkout_dir, executor=None):
    if executor is None:
        executor = get_default_executor()
 
    if 'svn' in distro_stack._rules:

src/r/o/rosrelease-0.2.12/src/rosrelease/legacy_main.py   rosrelease(Download)
 
from . import __version__
from .executor import get_default_executor
from .jenkins_support import trigger_source_deb
from .release_base import ReleaseException, get_email
def legacy_main():
    print("rosrelease-legacy version %s"%(__version__))
    executor = get_default_executor()
    if not check_version():
        executor.info("This release script is out-of-date.\nPlease upgrade your release and ros_release scripts")

src/t/r/trollius-0.2/asyncio/base_events.py   trollius(Download)
from . import tasks
from .coroutines import From, Return
from .executor import get_default_executor
from .log import logger
from .time_monotonic import time_monotonic, time_monotonic_resolution
            executor = self._default_executor
            if executor is None:
                self._default_executor = get_default_executor()
                executor = self._default_executor
        return futures.wrap_future(executor.submit(callback, *args), loop=self)