Skip to content

Commit 4079db4

Browse files
Fix read overload (#36418)
1 parent 9994016 commit 4079db4

File tree

1 file changed

+1
-1
lines changed
  • sdk/storage/azure-storage-blob/azure/storage/blob

1 file changed

+1
-1
lines changed

sdk/storage/azure-storage-blob/azure/storage/blob/_download.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -582,7 +582,7 @@ def read(self, size: int = -1) -> T:
582582
...
583583

584584
@overload
585-
def read(self, *, chars: Optional[int] = None) -> T:
585+
def read(self, *, chars: Optional[int] = None) -> str:
586586
...
587587

588588
# pylint: disable-next=too-many-statements,too-many-branches

0 commit comments

Comments
 (0)