Skip to content

Incompatible type in values #228

Open
@mdczaplicki

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

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