Skip to content

JSON issue in SQLAlchemy 1.2 and dbapi_type_map #291

@fantix

Description

@fantix

SQLAlchemy 1.2 removed dbapi_type_map in zzzeek/sqlalchemy@31f80b9 , which made following assertion fails:

        profile = await bind.scalar('SELECT profile FROM props_test')
        assert isinstance(profile, dict)

(where profile is of type JSON or JSONB)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugDescribes a bug in the system.help wanted

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions