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

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

        def _unpickle_task_v2(name, module=None):
    if module:
        import_module(module)
    return get_current_app().tasks[name]
        


src/c/e/celery-HEAD/celery/tests/app/test_registry.py   celery(Download)
from __future__ import absolute_import
 
from celery.app.registry import _unpickle_task, _unpickle_task_v2
from celery.tests.case import AppCase, depends_on_current_app
 

src/c/e/celery-3.1.11/celery/tests/app/test_registry.py   celery(Download)
from __future__ import absolute_import
 
from celery.app.registry import _unpickle_task, _unpickle_task_v2
from celery.tests.case import AppCase, depends_on_current_app