claudevdm commented on code in PR #41160:
URL: https://github.com/apache/beam/pull/41160#discussion_r4739199234


##########
sdks/python/apache_beam/runners/common.py:
##########
@@ -1046,7 +1048,7 @@ def _invoke_process_per_window(
                 window,
                 windowed_value.timestamp,
                 windowed_value.pane_info))
-      elif core.DoFn.BundleFinalizerParam == p:
+      elif p is core.DoFn.BundleFinalizerParam:

Review Comment:
   What happens to a placeholder that matches none of these branches? Maybe a 
final `else: raise` in the two loops be worth it?
   



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