This is an automated email from the ASF dual-hosted git repository.
pabloem pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/beam.git
The following commit(s) were added to refs/heads/master by this push:
new 60f5f46 Minor bugfix in typecoders.
new acff043 Merge pull request #14040 from Minor bugfix in
typecoders.FirstOf.
60f5f46 is described below
commit 60f5f46609e2b72c25909741a78428b1441f6c2e
Author: Chinmoy Mandayam <[email protected]>
AuthorDate: Mon Feb 22 16:28:35 2021 -0800
Minor bugfix in typecoders.
---
sdks/python/apache_beam/coders/typecoders.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sdks/python/apache_beam/coders/typecoders.py
b/sdks/python/apache_beam/coders/typecoders.py
index 958511e..f6a0b23 100644
--- a/sdks/python/apache_beam/coders/typecoders.py
+++ b/sdks/python/apache_beam/coders/typecoders.py
@@ -184,7 +184,7 @@ class FirstOf(object):
messages = []
for coder in self._coders:
try:
- return coder.from_type_hint(typehint, self)
+ return coder.from_type_hint(typehint, registry)
except Exception as e:
msg = (
'%s could not provide a Coder for type %s: %s' %