We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0a584c8 commit ed3e8f9Copy full SHA for ed3e8f9
1 file changed
sqlmesh/lsp/main.py
@@ -331,9 +331,8 @@ def inlay_hint(
331
try:
332
uri = URI(params.text_document.uri)
333
self._ensure_context_for_document(uri)
334
- document = ls.workspace.get_text_document(params.text_document.uri)
335
if self.lsp_context is None:
336
- raise RuntimeError(f"No context found for document: {document.path}")
+ raise RuntimeError(f"No context found for document: {uri}")
337
338
start_line = params.range.start.line
339
end_line = params.range.end.line
0 commit comments