Did I find the right examples for you? yes no

All Samples(12)  |  Call(3)  |  Derive(0)  |  Import(9)
Exception raised by Queue.get(block=0)/get_nowait().

src/o/h/oh-mainline-HEAD/vendor/packages/ghettoq/ghettoq/backends/mongodb.py   oh-mainline(Download)
from pymongo.connection import Connection
from pymongo.errors import OperationFailure
 
from ghettoq.backends.base import BaseBackend
from ghettoq.messaging import Empty
                        "messages", query={"queue": queue}, remove=True)
        except OperationFailure:
            raise Empty("Empty queue")
        return msg["value"]["payload"]
 

src/g/h/ghettoq-0.4.5/ghettoq/backends/mongodb.py   ghettoq(Download)
from pymongo.connection import Connection
from pymongo.errors import OperationFailure
 
from ghettoq.backends.base import BaseBackend
from ghettoq.messaging import Empty
                        "messages", query={"queue": queue}, remove=True)
        except OperationFailure:
            raise Empty("Empty queue")
        return msg["value"]["payload"]
 

src/g/h/ghettoq-HEAD/ghettoq/backends/mongodb.py   ghettoq(Download)
from pymongo.connection import Connection
from pymongo.errors import OperationFailure
 
from ghettoq.backends.base import BaseBackend
from ghettoq.messaging import Empty
                        "messages", query={"queue": queue}, remove=True)
        except OperationFailure:
            raise Empty("Empty queue")
        return msg["value"]["payload"]
 

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

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/taproot.py   ghettoq(Download)
 
from ghettoq.backends import Connection
from ghettoq.messaging import Empty as QueueEmpty
 
 

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/taproot.py   ghettoq(Download)
 
from ghettoq.backends import Connection
from ghettoq.messaging import Empty as QueueEmpty
 
 

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