Skip to content

Commit f8013e6

Browse files
authored
Fix str(WindowedValueCoder) crash when underlying coder isn't KV coder (#37406)
1 parent 6a399df commit f8013e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sdks/python/apache_beam/coders/coders.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1575,7 +1575,7 @@ def value_coder(self):
15751575
def __repr__(self):
15761576
return (
15771577
f'WindowedValueCoder[window_coder={self.window_coder}, '
1578-
f'value_coder={self.value_coder()}]')
1578+
f'wrapped_value_coder={self.wrapped_value_coder}]')
15791579

15801580
def __eq__(self, other):
15811581
return (

0 commit comments

Comments
 (0)