Skip to content

Make use_list param configurable in Connector #166

Closed

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

Activity

  1. linked a pull request that will close this issueAdd use_list param to Connection init #168on Aug 24, 2020
  2. added a commit that references this issue on Oct 18, 2020
    201c055
  3. added 3 commits that reference this issue on Oct 26, 2020
    2683b65
    f03df36
    00d315b
  4. added a commit that references this issue on Mar 17, 2026
    3a5f3d1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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