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

All Samples(3)  |  Call(2)  |  Derive(0)  |  Import(1)

src/i/n/input-lib-HEAD/packages/django-celery/djcelery/management/commands/celerybeat.py   input-lib(Download)
from django.core.management.base import BaseCommand
 
from celery.bin.celerybeat import run_celerybeat, OPTION_LIST
 
 
    def handle(self, *args, **options):
        """Handle the management command."""
        run_celerybeat(**options)
 

src/i/n/input-lib-HEAD/packages/celery/celery/tests/test_bin/test_celerybeat.py   input-lib(Download)
    def test_run_celerybeat(self):
        try:
            beat.run_celerybeat()
            self.assertTrue(MockBeat.running)
        finally: