rohitsinha54 commented on code in PR #33195:
URL: https://github.com/apache/beam/pull/33195#discussion_r1857243429
##########
sdks/python/apache_beam/metrics/cells.py:
##########
@@ -510,6 +506,9 @@ def get_cumulative(self):
# type: () -> DistributionData
return DistributionData(self.sum, self.count, self.min, self.max)
+ def get_result(self):
+ return DistributionResult(self.get_cumulative())
Review Comment:
nit: type hinting
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]