ryanthompson591 commented on code in PR #17671:
URL: https://github.com/apache/beam/pull/17671#discussion_r873967768


##########
sdks/python/apache_beam/ml/inference/base.py:
##########
@@ -158,19 +163,18 @@ def __init__(self, model_loader: ModelLoader, clock=None):
         self._inference_runner.get_metrics_namespace())
     self._clock = clock
     if not clock:
-      self._clock = _ClockFactory.make_clock()
+      self._clock = time

Review Comment:
   I think I can even simplify this more by using time in the parameter
   
   clock = time



-- 
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]

Reply via email to