Skip to content

Commit

Permalink
Try to fix smth for docker
Browse files Browse the repository at this point in the history
  • Loading branch information
F33RNI committed Jun 26, 2023
1 parent 499f2ac commit b667010
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions QueueHandler.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@


def get_container_from_queue(request_response_queue: multiprocessing.Queue, lock: multiprocessing.Lock,
container_id: int) -> RequestResponseContainer.RequestResponseContainer | None:
container_id: int):
"""
Retrieves request_response_container from queue by ID without removing it
:param request_response_queue: multiprocessing Queue to get container from
Expand All @@ -46,7 +46,7 @@ def get_container_from_queue(request_response_queue: multiprocessing.Queue, lock
:return: RequestResponseContainer or None if not exists
"""

def get_container_from_queue_() -> RequestResponseContainer.RequestResponseContainer | None:
def get_container_from_queue_():
# Convert entire queue to list
queue_list = queue_to_list(request_response_queue)

Expand Down

0 comments on commit b667010

Please sign in to comment.