Skip to content

Incompatible type in values #228

Description

@mdczaplicki

Sorry, I don't have much time, but mypy screams here:

my_valyes = values(
    column("x", Integer),   # here
    column("y", Integer),  # and here
    name="my_values",
).data(my_values_data)

with:

error: Argument 1 to "Values" has incompatible type "ColumnClause[Integer]"; expected "Column[Any]"
error: Argument 2 to "Values" has incompatible type "ColumnClause[Integer]"; expected "Column[Any]"

stubs version 0.0.2a6

Activity

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

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions