Skip to content

Commit 321cc60

Browse files
committed
Fix formatting issue
1 parent 37b2136 commit 321cc60

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

sdks/python/apache_beam/coders/coder_impl.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1020,8 +1020,7 @@ def encode_to_stream(self, value, out, nested):
10201020
raise OverflowError(
10211021
f"Integer value '{value}' is out of the encodable range for VarIntCoder. "
10221022
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}"
1024-
) from e
1023+
f"(-(2**63) to 2**63 - 1). Original error: {e}") from e
10251024

10261025
def decode_from_stream(self, in_stream, nested):
10271026
# type: (create_InputStream, bool) -> int
@@ -1049,8 +1048,7 @@ def estimate_size(self, value, nested=False):
10491048
raise OverflowError(
10501049
f"Cannot estimate size for integer value '{value}'. "
10511050
f"Value is out of the range for VarIntCoder (64-bit signed integer). "
1052-
f"Original error: {e}"
1053-
) from e
1051+
f"Original error: {e}") from e
10541052

10551053

10561054
class VarInt32CoderImpl(StreamCoderImpl):

0 commit comments

Comments
 (0)