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

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

src/c/e/celery-3.1.11/celery/worker/consumer.py   celery(Download)
    class Blueprint(bootsteps.Blueprint):
        name = 'Consumer'
        default_steps = [
            'celery.worker.consumer:Connection',
            'celery.worker.consumer:Mingle',

src/c/e/celery-HEAD/celery/worker/consumer.py   celery(Download)
    class Blueprint(bootsteps.Blueprint):
        name = 'Consumer'
        default_steps = [
            'celery.worker.consumer:Connection',
            'celery.worker.consumer:Mingle',

src/c/e/celery-3.1.11/celery/worker/__init__.py   celery(Download)
    class Blueprint(bootsteps.Blueprint):
        """Worker bootstep blueprint."""
        name = 'Worker'
        default_steps = set([
            'celery.worker.components:Hub',

src/c/e/celery-HEAD/celery/worker/__init__.py   celery(Download)
    class Blueprint(bootsteps.Blueprint):
        """Worker bootstep blueprint."""
        name = 'Worker'
        default_steps = {
            'celery.worker.components:Hub',

src/c/e/celery-HEAD/celery/tests/worker/test_bootsteps.py   celery(Download)
    class Blueprint(bootsteps.Blueprint):
        name = 'test_Blueprint'
 
    def test_steps_added_to_unclaimed(self):
 
        class MyBlueprint(bootsteps.Blueprint):
            name = 'test_apply'
 
            def modules(self):
                return ['A', 'B']
        class MyBlueprint(bootsteps.Blueprint):
            name = 'qwejwioqjewoqiej'
 
        x = MyBlueprint(app=self.app)
        x.apply(self)

src/c/e/celery-3.1.11/celery/tests/worker/test_bootsteps.py   celery(Download)
    class Blueprint(bootsteps.Blueprint):
        name = 'test_Blueprint'
 
    def test_steps_added_to_unclaimed(self):
 
        class MyBlueprint(bootsteps.Blueprint):
            name = 'test_apply'
 
            def modules(self):
                return ['A', 'B']
        class MyBlueprint(bootsteps.Blueprint):
            name = 'qwejwioqjewoqiej'
 
        x = MyBlueprint(app=self.app)
        x.apply(self)