Skip to content

Commit

Permalink
fix: type hint
Browse files Browse the repository at this point in the history
  • Loading branch information
BobTheBuidler committed Apr 22, 2024
1 parent f847895 commit fbe0ff9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion a_sync/primitives/queue.py
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ def _get(self, heapify=heapq.heapify, heappop=heapq.heappop):
def _create_future(self) -> "asyncio.Future[V]":
return PriorityFuture(asyncio.get_event_loop())

class VariablePriorityQueue(_VariablePriorityQueueMixin[T], asyncio.PriorityQueue[T]):
class VariablePriorityQueue(_VariablePriorityQueueMixin[T], asyncio.PriorityQueue):
"""A PriorityQueue subclass that allows priorities to be updated (or computed) on the fly"""

class SmartProcessingQueue(_VariablePriorityQueueMixin[T], ProcessingQueue[Concatenate[T, P], V]):
Expand Down

0 comments on commit fbe0ff9

Please sign in to comment.