Skip to content

Commit

Permalink
Dialect: Fix get_pk_constraint to return list instead of set type
Browse files Browse the repository at this point in the history
  • Loading branch information
amotl committed Jan 16, 2024
1 parent 07bba7b commit a58f7ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sqlalchemy_cratedb/dialect.py
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ def result_fun(result):
(table_name, schema or self.default_schema_name)
)
pks = result_fun(pk_result)
return {'constrained_columns': pks,
return {'constrained_columns': list(pks),
'name': 'PRIMARY KEY'}

@reflection.cache
Expand Down

0 comments on commit a58f7ca

Please sign in to comment.