mirror of https://github.com/peter4431/rq.git
Have work() return whether work has been done, or not.
And promote Worker to the rq namespace, so you can from rq import Workermain
parent
1c9fa66bc1
commit
1a893e60cf
@ -1,4 +1,5 @@
|
||||
from .proxy import conn
|
||||
from .queue import Queue
|
||||
from .worker import Worker
|
||||
|
||||
__all__ = ['conn', 'Queue']
|
||||
__all__ = ['conn', 'Queue', 'Worker']
|
||||
|
Loading…
Reference in New Issue