Skip to content

Commit

Permalink
Fix executable command for selected queue type (#361)
Browse files Browse the repository at this point in the history
* Fix executable command for selected queue type

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
jan-janssen and pre-commit-ci[bot] authored Nov 8, 2024
1 parent 65c2550 commit 790b18e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pysqa/queueadapter.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,10 @@ def __init__(
self._adapter = self._queue_dict[primary_queue]
elif queue_type is not None:
self._queue_dict = {}
self._adapter = QueueAdapterCore(queue_type=queue_type.upper())
self._adapter = QueueAdapterCore(
queue_type=queue_type.upper(),
execute_command=execute_command,
)
else:
raise ValueError()

Expand Down

0 comments on commit 790b18e

Please sign in to comment.