Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

17 lines (12 sloc) 0.466 kb
# -*- coding: utf-8 -*-
from __future__ import absolute_import
from celery.utils.imports import symbol_by_name
ALIASES = {
"processes": "celery.concurrency.processes:TaskPool",
"eventlet": "celery.concurrency.eventlet:TaskPool",
"gevent": "celery.concurrency.gevent:TaskPool",
"threads": "celery.concurrency.threads:TaskPool",
"solo": "celery.concurrency.solo:TaskPool",
}
def get_implementation(cls):
return symbol_by_name(cls, ALIASES)
Jump to Line
Something went wrong with that request. Please try again.