Skip to content

Commit 351ac09

Browse files
authored
Update path check for T-SQL notebooks (#993)
1 parent 25046a8 commit 351ac09

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sempy_labs/_notebooks.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -424,7 +424,7 @@ def search_notebooks(
424424
)
425425
for part in definition.get("definition").get("parts"):
426426
payload = _decode_b64(part["payload"])
427-
if part["path"] == "notebook-content.py":
427+
if part["path"] in ("notebook-content.py", "notebook-content.sql"):
428428
if search_string in payload:
429429
rows.append(
430430
{

0 commit comments

Comments
 (0)