fix: restore the wiki alignment check, which no longer imported
The telemetry column list was renamed from _COLUMNS to COLUMNS at some point and this tool was never updated, so make wiki-check has been dying on an ImportError rather than checking anything. One line. It still reports every page as missing, but that is the documentation site being taken down in August, not a fault in the check.
This commit is contained in:
@@ -28,7 +28,7 @@ from polygateway import EmbeddingClient, GatewayClient, LLMResponse
|
|||||||
from polygateway.config import _SOURCE_FIELDS
|
from polygateway.config import _SOURCE_FIELDS
|
||||||
from polygateway.ocr import OcrClient
|
from polygateway.ocr import OcrClient
|
||||||
from polygateway.providers import register_provider
|
from polygateway.providers import register_provider
|
||||||
from polygateway.telemetry.sqlite import _COLUMNS as TELEMETRY_COLUMNS
|
from polygateway.telemetry.sqlite import COLUMNS as TELEMETRY_COLUMNS
|
||||||
|
|
||||||
# 参数名允许在 wiki 里以别名出现的白名单(仅限确无歧义的自解释形参)
|
# 参数名允许在 wiki 里以别名出现的白名单(仅限确无歧义的自解释形参)
|
||||||
_PARAM_ALIASES: dict[str, set[str]] = {"env": {"env"}}
|
_PARAM_ALIASES: dict[str, set[str]] = {"env": {"env"}}
|
||||||
|
|||||||
Reference in New Issue
Block a user