From 88398f33ce663748d87a7df61fe5d948e6e1b4f9 Mon Sep 17 00:00:00 2001 From: Jeffrey Kinard Date: Fri, 13 Dec 2024 14:41:02 -0500 Subject: [PATCH] fix BoundedTrieData get_result return type hint Signed-off-by: Jeffrey Kinard --- sdks/python/apache_beam/metrics/cells.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdks/python/apache_beam/metrics/cells.py b/sdks/python/apache_beam/metrics/cells.py index 9a62cae14691..b765c830f69c 100644 --- a/sdks/python/apache_beam/metrics/cells.py +++ b/sdks/python/apache_beam/metrics/cells.py @@ -826,7 +826,7 @@ def __repr__(self) -> str: def get_cumulative(self) -> "BoundedTrieData": return copy.deepcopy(self) - def get_result(self) -> set[tuple]: + def get_result(self) -> Set[tuple]: if self._root is None: if self._singleton is None: return set()