Skip to content

Commit

Permalink
Small annotations fix (#527)
Browse files Browse the repository at this point in the history
  • Loading branch information
dvadym authored Oct 16, 2024
1 parent 23e9d64 commit 4cf6a56
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ def _compute_frequency_histogram_per_key(
def _map_to_frequency_bin(
key_value: Tuple[int, float],
bucket_generators: List[List[LowerUpperGenerator]]
) -> Tuple[float, hist.FrequencyBin]:
) -> Tuple[Tuple[int, float], hist.FrequencyBin]:
# bucket_generator is a 1-element list with
# a single element to be a list of LowerUpperGenerator.
index, value = key_value
Expand Down
2 changes: 0 additions & 2 deletions tests/dp_engine_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -254,8 +254,6 @@ def test_calculate_private_contribution_filters_partitions(self):
result,
pipeline_dp.PrivateContributionBounds(max_partitions_contributed=1))

@unittest.skip(
"For some reason it fails on Beam. TODO(dvadym): Fix this test")
def test_calculate_private_contribution_works_on_beam(self):
with test_pipeline.TestPipeline() as p:
# Arrange
Expand Down

0 comments on commit 4cf6a56

Please sign in to comment.