You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@beam.apache.org by "damccorm (via GitHub)" <gi...@apache.org> on 2025/08/27 18:25:03 UTC
Re: [PR] Pass update compat through as_deterministic_coder and use cloudpickle for deterministic special types. [beam]
damccorm commented on code in PR #35725:
URL: https://github.com/apache/beam/pull/35725#discussion_r2304953128
##########
sdks/python/apache_beam/coders/coders.py:
##########
@@ -180,7 +180,8 @@ def is_deterministic(self):
"""
return False
- def as_deterministic_coder(self, step_label, error_message=None):
+ def as_deterministic_coder(
+ self, step_label, error_message=None, update_compatibility_version=None):
Review Comment:
Will this break any custom coders that define `as_deterministic_coder`? If so, one option would be to define a function in the base class which takes in these args but just shells out to `as_deterministic_coder` by default
--
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: github-unsubscribe@beam.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org