Skip to content

Commit

Permalink
Update streaming/base/storage/download.py
Browse files Browse the repository at this point in the history
  • Loading branch information
snarayan21 authored Dec 9, 2024
1 parent 3e64719 commit dce3d6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion streaming/base/storage/download.py
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ def __getstate__(self) -> dict:
state['_s3_client'] = None # Exclude _s3_client from being pickled
return state

def __setstate__(self, state):
def __setstate__(self, state: dict):
self.__dict__.update(state)
self._s3_client = None # Ensure _s3_client is reset after unpickling

Expand Down

0 comments on commit dce3d6e

Please sign in to comment.