-
Notifications
You must be signed in to change notification settings - Fork 5
fix: Debug startup resilience #3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 2 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,31 @@ | ||
| [ | ||
| { | ||
| "name": "Excel.CurrentWorkbook", | ||
| "documentation": { | ||
| "description": "Returns the contents of the current Excel workbook.", | ||
| "longDescription": "Returns tables, named ranges, and dynamic arrays. Unlike Excel.Workbook, it does not return sheets.", | ||
| "category": "Accessing data" | ||
| }, | ||
| "functionParameters": [], | ||
| "completionItemKind": 3, | ||
| "isDataSource": true, | ||
| "type": "table" | ||
| }, | ||
| { | ||
| "name": "Documentation", | ||
| "documentation": { | ||
| "description": "Contains properties for function documentation metadata", | ||
| "category": "Documentation" | ||
| }, | ||
| "functionParameters": [], | ||
| "completionItemKind": 9, | ||
| "isDataSource": false, | ||
| "type": "record", | ||
| "fields": { | ||
| "Name": { "type": "text" }, | ||
| "Description": { "type": "text" }, | ||
| "Parameters": { "type": "record" } | ||
| } | ||
| } | ||
|
|
||
| ] | ||
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -0,0 +1,5 @@ | ||||||
| { | ||||||
| "powerquery.client.additionalSymbolsDirectories": [ | ||||||
| "/Users/heke/Deepgraph/.vscode/excel-pq-symbols" | ||||||
|
||||||
| "/Users/heke/Deepgraph/.vscode/excel-pq-symbols" | |
| "${workspaceFolder}/.vscode/excel-pq-symbols" |
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -381,6 +381,12 @@ def _candidate_block_keys(entity: dict) -> set[str]: | |||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||
| def list_merge_candidates(status: str = "pending", limit: int = 100, entity_type: str | None = None) -> list[dict]: | ||||||||||||||||||||||||||||||||||||||
| """List merge candidates with display metadata.""" | ||||||||||||||||||||||||||||||||||||||
| table_exists = db.fetchone( | ||||||||||||||||||||||||||||||||||||||
| "SELECT name FROM sqlite_master WHERE type='table' AND name='entity_merge_candidates'" | ||||||||||||||||||||||||||||||||||||||
| ) | ||||||||||||||||||||||||||||||||||||||
| if not table_exists: | ||||||||||||||||||||||||||||||||||||||
|
Comment on lines
382
to
+387
|
||||||||||||||||||||||||||||||||||||||
| def list_merge_candidates(status: str = "pending", limit: int = 100, entity_type: str | None = None) -> list[dict]: | |
| """List merge candidates with display metadata.""" | |
| table_exists = db.fetchone( | |
| "SELECT name FROM sqlite_master WHERE type='table' AND name='entity_merge_candidates'" | |
| ) | |
| if not table_exists: | |
| def _merge_candidates_table_exists() -> bool: | |
| """Return whether the merge-candidates table is available.""" | |
| return bool( | |
| db.fetchone( | |
| "SELECT name FROM sqlite_master WHERE type='table' AND name='entity_merge_candidates'" | |
| ) | |
| ) | |
| def list_merge_candidates(status: str = "pending", limit: int = 100, entity_type: str | None = None) -> list[dict]: | |
| """List merge candidates with display metadata.""" | |
| if not _merge_candidates_table_exists(): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This symbols file is committed, but the accompanying VS Code setting currently points to an absolute directory outside a typical clone path, so these symbols won’t be picked up by other developers. Either reference this repo-local directory via a workspace-relative setting, or drop this file from the PR to avoid carrying unused editor artifacts in the repository.