Skip to content

Commit

Permalink
Merge pull request #33377 Fix BoundedTrieData get_result return type …
Browse files Browse the repository at this point in the history
…hint.
robertwb authored Dec 14, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
2 parents 2aab9cd + 88398f3 commit d7502fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sdks/python/apache_beam/metrics/cells.py
Original file line number Diff line number Diff line change
@@ -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()

0 comments on commit d7502fa

Please sign in to comment.