liferoad commented on code in PR #36321:
URL: https://github.com/apache/beam/pull/36321#discussion_r2402390704
##########
sdks/python/apache_beam/transforms/core.py:
##########
@@ -3354,6 +3359,16 @@ def get_windowing(self, inputs):
environment_id=windowing.environment_id)
def expand(self, pcoll):
+ replace_with_gbek_secret = (
+ pcoll.pipeline._options.view_as(SetupOptions).gbek)
+ if replace_with_gbek_secret is not None and not self._inside_gbek:
+ self._replaced_by_gbek = True
+ from apache_beam.transforms.util import GroupByEncryptedKey
+ from apache_beam.transforms.util import Secret
+
+ secret = Secret.parse_secret_option(replace_with_gbek_secret)
Review Comment:
shall we somehow retry `get_secret_bytes`?
--
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]