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

Unsupported SQLAlchemy-Continuum>=1.4.0 #165

Open
jma opened this issue Jul 17, 2023 · 0 comments
Open

Unsupported SQLAlchemy-Continuum>=1.4.0 #165

jma opened this issue Jul 17, 2023 · 0 comments

Comments

@jma
Copy link

jma commented Jul 17, 2023

Describe the bug

SQLAlchemy-Continuum has a new version since few days. Using the last version (1.4.0), executing the tests in our invenio instance we got the following error:

self = <sqlalchemy_continuum.manager.VersioningManager object at 0x1082c9460>, conn = <sqlalchemy.engine.base.Connection object at 0x10c522280>, clauseelement = 'BEGIN', multiparams = [], params = {}, execution_options = immutabledict({})

    def track_association_operations(
        self, conn, clauseelement, multiparams, params, execution_options,
    ):

        if (
            not self.options['versioning'] and
            not self.options['native_versioning']
        ):
            return

>       if clauseelement.is_insert:
E       AttributeError: 'str' object has no attribute 'is_insert'

Using SQLAlchemy-Continuum == 1.3.15, everything works nicely.

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

1 participant