We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5575e9e commit 85eb79cCopy full SHA for 85eb79c
1 file changed
sqlmesh/lsp/main.py
@@ -343,9 +343,8 @@ def inlay_hint(
343
try:
344
uri = URI(params.text_document.uri)
345
self._ensure_context_for_document(uri)
346
- document = ls.workspace.get_text_document(params.text_document.uri)
347
if self.lsp_context is None:
348
- raise RuntimeError(f"No context found for document: {document.path}")
+ raise RuntimeError(f"No context found for document: {uri}")
349
350
start_line = params.range.start.line
351
end_line = params.range.end.line
0 commit comments