Also accept the queue name

This commit is contained in:
tcely authored and GitHub committed 2025-06-13 06:15:10 -04:00
1 parent 66695a5f0a
commit 2378ee8649
1 file changed
+3
+3
View File
@@ -9,6 +9,9 @@ def h_q_dict(q, /):
def h_q_tuple(q, /):
if isinstance(q, str):
from django_huey import get_queue
q = get_queue(q)
return (
q.name,
h_q_dict(q),