Skip to content

Make use_list param configurable in Connector #166

Closed
@artembo

Description

@artembo

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureA new functionality

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions