diff --git a/sqlalchemy_continuum/manager.py b/sqlalchemy_continuum/manager.py index 0e945d53..7bb5f731 100644 --- a/sqlalchemy_continuum/manager.py +++ b/sqlalchemy_continuum/manager.py @@ -402,11 +402,10 @@ def append_association_operation(self, conn, table_name, params, op): """ Append history association operation to pending_statements list. """ - params['operation_type'] = op stmt = ( self.metadata.tables[self.options['table_name'] % table_name] .insert() - .values(params) + .values({**params, 'operation_type': op}) ) try: uow = self.units_of_work[conn]