Skip to content

alembic is passing an empty tuple to conn.execute() which is nonsensical #1394

Closed

Description

@zzzeek

this should be fixed because in sqlalchemy/sqlalchemy#9647 we are going to disallow or warn for this

Activity

  1. CaselIT commented on Jan 10, 2024

    @CaselIT
    Member

    this is here

    multiparams: Sequence[dict] = (),

  2. CaselIT commented on Jan 10, 2024

    @CaselIT
    Member

    was added here 53b9ccc so it's effectively "since forever"

  3. sqla-tester commented on Jan 10, 2024

    @sqla-tester
    Collaborator

    Mike Bayer has proposed a fix for this issue in the main branch:

    dont pass empty sequences to connection.execute() https://gerrit.sqlalchemy.org/c/sqlalchemy/alembic/+/5122

  4. added a commit that references this issue on Feb 5, 2024
    f24a644
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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions