Skip to content

Commit

Permalink
Add worker_id attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
damondouglas committed Dec 27, 2024
1 parent 9c85c73 commit ed45658
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sdks/python/apache_beam/runners/worker/sdk_worker.py
Original file line number Diff line number Diff line change
Expand Up @@ -900,6 +900,7 @@ def __init__(self, state_cache, worker_id, credentials=None):
self._throwing_state_handler = ThrowingStateHandler()
self._credentials = credentials
self._state_cache = state_cache
self._worker_id = worker_id

def create_state_handler(self, api_service_descriptor):
# type: (endpoints_pb2.ApiServiceDescriptor) -> CachingStateHandler
Expand Down

0 comments on commit ed45658

Please sign in to comment.