Skip to content

Commit

Permalink
Automated Code Change
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 698671391
  • Loading branch information
Martin Huschenbett authored and copybara-github committed Nov 25, 2024
1 parent 6d7f5bd commit 0a72f4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion glazier/lib/download.py
Original file line number Diff line number Diff line change
Expand Up @@ -516,7 +516,7 @@ def _GetFileStreamSize(self, file_stream: 'http.client.HTTPResponse'):
total_size = int(file_stream.headers.get('Content-Length').strip()) # pytype: disable=attribute-error # re-none
return (url, total_size)

def _StreamToDisk(self,
def _StreamToDisk(self, # pytype: disable=annotation-type-mismatch
file_stream: 'http.client.HTTPResponse',
show_progress: bool = None):
"""Save a file stream to disk.
Expand Down

0 comments on commit 0a72f4f

Please sign in to comment.