Skip to content

Commit 41225ea

Browse files
author
Christopher Giroir
committed
chore: add a good comment
1 parent c94486a commit 41225ea

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

sqlmesh/lsp/hints.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,7 @@ def _get_type_hints_for_model_from_query(
123123
try:
124124
query = normalize_identifiers(query.copy(), dialect=dialect)
125125

126+
# Return the hints for top level selects (model definition columns only)
126127
return [
127128
hint
128129
for q in query.walk(prune=lambda n: not isinstance(n, exp.SetOperation))

0 commit comments

Comments
 (0)