From 5b028651017a865bbb920a7c538a02ccf6d30459 Mon Sep 17 00:00:00 2001 From: Tai An Date: Thu, 10 Sep 2026 18:28:21 -0700 Subject: [PATCH] fix(viewer): drop undefined MAX_ENTITIES_PER_ANNOTATION from __all__ viewer/server/runtime.py lists MAX_ENTITIES_PER_ANNOTATION in __all__, but the name is not defined in the module -- it appears nowhere else in the repository. The other 8 entries all resolve. `from viewer.server.runtime import *` therefore fails with AttributeError: module has no attribute 'MAX_ENTITIES_PER_ANNOTATION'. --- viewer/server/runtime.py | 1 - 1 file changed, 1 deletion(-) diff --git a/viewer/server/runtime.py b/viewer/server/runtime.py index 595dbf8f..3ab5c074 100644 --- a/viewer/server/runtime.py +++ b/viewer/server/runtime.py @@ -459,7 +459,6 @@ def project(point_gltf: Sequence[float]) -> tuple[float, float] | None: __all__ = [ "ARTIFACT_NAMES", "MAX_ADJACENCY_IDS", - "MAX_ENTITIES_PER_ANNOTATION", "ReCase", "compose_submission", "entity_neighborhood",