Skip to content

Commit 0cd749e

Browse files
committed
Fix lint error
1 parent 321cc60 commit 0cd749e

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

sdks/python/apache_beam/coders/coder_impl.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1018,9 +1018,10 @@ def encode_to_stream(self, value, out, nested):
10181018
out.write_var_int64(value)
10191019
except OverflowError as e:
10201020
raise OverflowError(
1021-
f"Integer value '{value}' is out of the encodable range for VarIntCoder. "
1022-
f"This coder is limited to values that fit within a 64-bit signed integer "
1023-
f"(-(2**63) to 2**63 - 1). Original error: {e}") from e
1021+
f"Integer value '{value}' is out of the encodable range for "
1022+
f"VarIntCoder. This coder is limited to values that fit "
1023+
f"within a 64-bit signed integer (-(2**63) to 2**63 - 1). "
1024+
f"Original error: {e}") from e
10241025

10251026
def decode_from_stream(self, in_stream, nested):
10261027
# type: (create_InputStream, bool) -> int

0 commit comments

Comments
 (0)