Skip to content

Failing import with newer version of sqlalchemy #734

Open
@jachymb

Description

@jachymb

When I try to call from aiopg.sa import create_engine I get an error like this: ModuleNotFoundError: No module named 'sqlalchemy.sql.ddl'. It is caused by the from sqlalchemy.sql.ddl import DDLElement command in connection.py.

I believe it should do the following instead for newer versions of sqlalchemy:

from sqlalchemy.schema import DDLElement

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