MCPcopy Index your code
hub / github.com/marimo-team/marimo / SQLErrorMetadata

Class SQLErrorMetadata

marimo/_sql/error_utils.py:38–50  ·  view source on GitHub ↗

Structured metadata for SQL parsing errors.

Source from the content-addressed store, hash-verified

36
37
38class SQLErrorMetadata(TypedDict):
39 """Structured metadata for SQL parsing errors."""
40
41 lint_rule: str
42 error_type: str
43 clean_message: str
44 hint: str | None
45 node_lineno: int
46 node_col_offset: int
47 sql_statement: str
48 sql_line: int | None
49 sql_col: int | None
50 context: str
51
52
53def is_sql_parse_error(exception: BaseException) -> bool:

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…