Skip to content

Commit

Permalink
feat: import SmartProcessingQueue to primitives module (#223)
Browse files Browse the repository at this point in the history
  • Loading branch information
BobTheBuidler authored Apr 23, 2024
1 parent e0e5a16 commit bb0c6ff
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions a_sync/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
# queues
"Queue",
"ProcessingQueue",
"SmartProcessingQueue",
# locks
"CounterLock",
"Event",
Expand Down
3 changes: 2 additions & 1 deletion a_sync/primitives/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
PruningThreadPoolExecutor,
ThreadPoolExecutor)
from a_sync.primitives.locks import *
from a_sync.primitives.queue import Queue, ProcessingQueue
from a_sync.primitives.queue import Queue, ProcessingQueue, SmartProcessingQueue

__all__ = [
"AsyncThreadPoolExecutor",
Expand All @@ -24,4 +24,5 @@
"Event",
"Queue",
"ProcessingQueue",
"SmartProcessingQueue",
]

0 comments on commit bb0c6ff

Please sign in to comment.