celery / kombu

Messaging library for Python.
http://kombu.readthedocs.org/
BSD 3-Clause "New" or "Revised" License
2.86k stars 927 forks source link

Queue.from_dict arguments #1236

Open lmasikl opened 4 years ago

lmasikl commented 4 years ago

I need set max_length of dynamically created queue, but I found that it is impossible, because that argument isapsent in create method (https://github.com/celery/kombu/blob/master/kombu/entity.py#L847-L857). What a reason don't use all Queue arguments in Queue from_dict method? It is a typo or is it design?

thedrow commented 4 years ago

I don't think it was ever needed by anyone.

Feel free to send us a PR.