feat: export TelemetryStatus from the package root

client.telemetry_status exists so downstream can reconcile telemetry
programmatically, but annotating its return type meant reaching into
polygateway.types while the convention here is that the top-level
exports are the public API surface. The port itself stays unexported:
nobody outside the library implements it.
This commit is contained in:
2026-08-24 11:06:22 -04:00
parent 69a5b5fadb
commit 7834d751d0
2 changed files with 14 additions and 0 deletions
+2
View File
@@ -31,6 +31,7 @@ from polygateway.types import (
OcrLayoutResult,
OcrTextResult,
SourceConfig,
TelemetryStatus,
)
__version__ = "1.2.4"
@@ -61,6 +62,7 @@ __all__ = [
"SourceConfig",
"SourceDeadError",
"SourceNotConfiguredError",
"TelemetryStatus",
"TransientError",
"__version__",
"gather_bounded",