Skip to content

error: Unexpected keyword argument "astext_type" for "JSONB" #207

Open
@triptec

Description

@triptec

I'm getting error: Unexpected keyword argument "astext_type" for "JSONB" in my alembic migrations on lines like:
sa.Column("data", postgresql.JSONB(astext_type=sa.Text()), nullable=True),

Looking at the init function of the JSON class that JSONB inherits it has a keyword argument astext_type.

Can't find the init function for JSON/JSONB in this repo.

So, am I doing something wrong or is there something not implemented or whatnot?

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions