Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions pylegend/core/database/sql_to_string/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ class SqlToStringFormat:
indent_count: int

def __init__(self, pretty: bool = True, indent_count: int = 0) -> None:
if indent_count < 0:
raise ValueError(f"indent_count must be non-negative, got: {indent_count}")
self.pretty = pretty
self.indent_count = indent_count

Expand Down