By default use_list parameter tells msgpack to unpack array to
Python's list which is not hashable and can not be used as a dict keys
and sets elements. Django expects the response rows to be tuples
because it will be used in python set() [1]
Need to make it configurable to let the user choose which type of rows
can be fetched from the database response.
By default
use_list
parameter tells msgpack to unpack array to Python's list which is not hashable and can not be used as a dict keys and sets elements. Django expects the response rows to be tuples because it will be used in python set() [1]Need to make it configurable to let the user choose which type of rows can be fetched from the database response.
[1] https://github.com/django/django/blob/stable/3.0.x/django/contrib/auth/management/__init__.py#L72