(stream=None, chunk=None, remaining=None)
| 65 | |
| 66 | @staticmethod |
| 67 | def onProgress(stream=None, chunk=None, remaining=None): |
| 68 | file_downloaded = file_size - (remaining / 1000000) |
| 69 | print( |
| 70 | f"downloading ... {file_downloaded / file_size * 100:0.2f} % [{file_downloaded:.1f}MB of {file_size:.1f}MB]", |
| 71 | end="\r", |
| 72 | ) |
| 73 | |
| 74 | def main(self): |
| 75 | try: |
nothing calls this directly
no outgoing calls
no test coverage detected