From f3475c761d5f4642eb0104cc18247de900aceb26 Mon Sep 17 00:00:00 2001 From: Daniel Sanche Date: Wed, 6 May 2026 14:19:09 -0700 Subject: [PATCH] chore: add type annotation to SYNCPOINTS --- packages/google-cloud-testutils/test_utils/orchestrate.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/google-cloud-testutils/test_utils/orchestrate.py b/packages/google-cloud-testutils/test_utils/orchestrate.py index a6fd9a770a82..65e5464040a0 100644 --- a/packages/google-cloud-testutils/test_utils/orchestrate.py +++ b/packages/google-cloud-testutils/test_utils/orchestrate.py @@ -11,7 +11,7 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. - +from __future__ import annotations import itertools import math import queue @@ -242,7 +242,7 @@ def go(self): self._go.put(None) -_SYNCPOINTS = {} +_SYNCPOINTS: dict[str, dict[str, set[int]]] = {} """Dict[str, Dict[str, Set[int]]]: Dict mapping source fileneme to a dict mapping syncpoint name to set of line numbers where syncpoints with that name occur in the source file.