You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@beam.apache.org by GitBox <gi...@apache.org> on 2020/06/15 21:31:05 UTC
[GitHub] [beam] aaltay commented on a change in pull request #12013: Fix error creating unnecessary data channel for user timer in py sdk
aaltay commented on a change in pull request #12013:
URL: https://github.com/apache/beam/pull/12013#discussion_r440458545
##########
File path: sdks/python/apache_beam/runners/worker/bundle_processor.py
##########
@@ -819,7 +819,7 @@ def __init__(self,
# There is no guarantee that the runner only set
# timer_api_service_descriptor when having timers. So this field cannot be
# used as an indicator of timers.
- if self.process_bundle_descriptor.timer_api_service_descriptor:
+ if self.process_bundle_descriptor.timer_api_service_descriptor.url:
Review comment:
Is it possible for `timer_api_service_descriptor` to be `None` as well?
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org