@@ -84,7 +84,7 @@ def download(
84
84
ref_name : str ,
85
85
job : str ,
86
86
streamed : Literal [True ] = True ,
87
- action : Optional [Callable [[bytes ], None ]] = None ,
87
+ action : Optional [Callable [[bytes ], Any ]] = None ,
88
88
chunk_size : int = 1024 ,
89
89
* ,
90
90
iterator : Literal [False ] = False ,
@@ -102,7 +102,7 @@ def download(
102
102
ref_name : str ,
103
103
job : str ,
104
104
streamed : bool = False ,
105
- action : Optional [Callable [[bytes ], None ]] = None ,
105
+ action : Optional [Callable [[bytes ], Any ]] = None ,
106
106
chunk_size : int = 1024 ,
107
107
* ,
108
108
iterator : bool = False ,
@@ -177,7 +177,7 @@ def raw(
177
177
artifact_path : str ,
178
178
job : str ,
179
179
streamed : Literal [True ] = True ,
180
- action : Optional [Callable [[bytes ], None ]] = None ,
180
+ action : Optional [Callable [[bytes ], Any ]] = None ,
181
181
chunk_size : int = 1024 ,
182
182
* ,
183
183
iterator : Literal [False ] = False ,
@@ -195,7 +195,7 @@ def raw(
195
195
artifact_path : str ,
196
196
job : str ,
197
197
streamed : bool = False ,
198
- action : Optional [Callable [[bytes ], None ]] = None ,
198
+ action : Optional [Callable [[bytes ], Any ]] = None ,
199
199
chunk_size : int = 1024 ,
200
200
* ,
201
201
iterator : bool = False ,
0 commit comments