sqlalchemy-stubs icon indicating copy to clipboard operation
sqlalchemy-stubs copied to clipboard

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

Open triptec opened this issue 4 years ago • 1 comments

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!

triptec avatar Feb 02 '21 14:02 triptec

Recommend closing, as should have been solved via #211

miketheman avatar May 11 '23 15:05 miketheman