Skip to content

Commit 6f82c14

Browse files
Merge pull request #17 from risclog-solution/fix
fix: table comments repr
2 parents d7fc26c + e458ef1 commit 6f82c14

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/sqlacodegen/risclog_generators.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -801,7 +801,7 @@ def clx_render_table(self: "TablesGenerator", table: Table) -> str:
801801
# Table comment
802802
table_comment = getattr(table, "comment", None)
803803
if table_comment:
804-
kwargs["comment"] = table_comment
804+
kwargs["comment"] = repr(table_comment)
805805

806806
return render_callable("Table", *args, kwargs=kwargs, indentation=" ")
807807

0 commit comments

Comments
 (0)