From 8a0d05888b1a5b492348bb188e3356477b946093 Mon Sep 17 00:00:00 2001 From: Thomas Grainger Date: Fri, 9 Jul 2021 10:52:02 +0100 Subject: [PATCH] fix function has duplicate type signatures mypy error --- .../azure/storage/fileshare/_file_client.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sdk/storage/azure-storage-file-share/azure/storage/fileshare/_file_client.py b/sdk/storage/azure-storage-file-share/azure/storage/fileshare/_file_client.py index 81380ef28826..8d33cb157a44 100644 --- a/sdk/storage/azure-storage-file-share/azure/storage/fileshare/_file_client.py +++ b/sdk/storage/azure-storage-file-share/azure/storage/fileshare/_file_client.py @@ -685,9 +685,9 @@ def abort_copy(self, copy_id, **kwargs): def download_file( self, offset=None, # type: Optional[int] length=None, # type: Optional[int] - **kwargs + **kwargs # type: Any ): - # type: (Optional[int], Optional[int], Any) -> StorageStreamDownloader + # type: (...) -> StorageStreamDownloader """Downloads a file to the StorageStreamDownloader. The readall() method must be used to read all the content or readinto() must be used to download the file into a stream. Using chunks() returns an iterator which allows the user to iterate over the content in chunks.