Did I find the right examples for you? yes no

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

        def Connection(type, *args, **kwargs):
    return get_backend_cls(type)(*args, **kwargs)
        


src/o/h/oh-mainline-HEAD/vendor/packages/ghettoq/ghettoq/taproot.py   oh-mainline(Download)
from carrot.utils import gen_unique_id
 
from ghettoq.backends import Connection
from ghettoq.messaging import Empty as QueueEmpty
 
    def establish_connection(self):
        conninfo = self.connection
        conn = Connection(self.type, host=conninfo.hostname,
                                     user=conninfo.userid,
                                     password=conninfo.password,

src/g/h/ghettoq-0.4.5/ghettoq/taproot.py   ghettoq(Download)
from carrot.utils import gen_unique_id
 
from ghettoq.backends import Connection
from ghettoq.messaging import Empty as QueueEmpty
 
    def establish_connection(self):
        conninfo = self.connection
        conn = Connection(self.type, host=conninfo.hostname,
                                     user=conninfo.userid,
                                     password=conninfo.password,

src/g/h/ghettoq-HEAD/ghettoq/taproot.py   ghettoq(Download)
from carrot.utils import gen_unique_id
 
from ghettoq.backends import Connection
from ghettoq.messaging import Empty as QueueEmpty
 
    def establish_connection(self):
        conninfo = self.connection
        conn = Connection(self.type, host=conninfo.hostname,
                                     user=conninfo.userid,
                                     password=conninfo.password,

src/o/h/oh-mainline-HEAD/vendor/packages/ghettoq/ghettoq/simple.py   oh-mainline(Download)
from ghettoq.backends import Connection
from ghettoq.messaging import Empty
 

src/g/h/ghettoq-0.4.5/ghettoq/simple.py   ghettoq(Download)
from ghettoq.backends import Connection
from ghettoq.messaging import Empty
 

src/g/h/ghettoq-HEAD/ghettoq/simple.py   ghettoq(Download)
from ghettoq.backends import Connection
from ghettoq.messaging import Empty