Skip to content
This repository was archived by the owner on Apr 17, 2024. It is now read-only.

Commit 59d6a2b

Browse files
ise-cryptocopybara-github
authored andcommitted
Silence some pytype errors.
PiperOrigin-RevId: 623381193
1 parent 93a1cca commit 59d6a2b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

python/tink/streaming_aead/_decrypting_stream.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -131,5 +131,5 @@ def readable(self) -> bool:
131131
"""Return True if the stream can be read from."""
132132
return True
133133

134-
def write(self, b: bytes) -> int:
134+
def write(self, b: bytes) -> int: # pytype: disable=signature-mismatch
135135
raise io.UnsupportedOperation()

python/tink/streaming_aead/_encrypting_stream.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ def _close_cc_encrypting_stream(self) -> None:
7373
def readinto(self, b: bytearray) -> Optional[int]:
7474
raise io.UnsupportedOperation()
7575

76-
def write(self, b: bytes) -> int:
76+
def write(self, b: bytes) -> int: # pytype: disable=signature-mismatch
7777
"""Write the given buffer to the IO stream.
7878
7979
Args:

0 commit comments

Comments
 (0)