Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
triptec opened this issue Feb 2, 2021 · 1 comment
Open

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

triptec opened this issue Feb 2, 2021 · 1 comment

Comments

@triptec
Copy link

triptec commented Feb 2, 2021

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!

@miketheman
Copy link

Recommend closing, as should have been solved via #211

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants