@@ -84,7 +84,7 @@ def download(
8484 ref_name : str ,
8585 job : str ,
8686 streamed : Literal [True ] = True ,
87- action : Optional [Callable [[bytes ], None ]] = None ,
87+ action : Optional [Callable [[bytes ], Any ]] = None ,
8888 chunk_size : int = 1024 ,
8989 * ,
9090 iterator : Literal [False ] = False ,
@@ -102,7 +102,7 @@ def download(
102102 ref_name : str ,
103103 job : str ,
104104 streamed : bool = False ,
105- action : Optional [Callable [[bytes ], None ]] = None ,
105+ action : Optional [Callable [[bytes ], Any ]] = None ,
106106 chunk_size : int = 1024 ,
107107 * ,
108108 iterator : bool = False ,
@@ -177,7 +177,7 @@ def raw(
177177 artifact_path : str ,
178178 job : str ,
179179 streamed : Literal [True ] = True ,
180- action : Optional [Callable [[bytes ], None ]] = None ,
180+ action : Optional [Callable [[bytes ], Any ]] = None ,
181181 chunk_size : int = 1024 ,
182182 * ,
183183 iterator : Literal [False ] = False ,
@@ -195,7 +195,7 @@ def raw(
195195 artifact_path : str ,
196196 job : str ,
197197 streamed : bool = False ,
198- action : Optional [Callable [[bytes ], None ]] = None ,
198+ action : Optional [Callable [[bytes ], Any ]] = None ,
199199 chunk_size : int = 1024 ,
200200 * ,
201201 iterator : bool = False ,
0 commit comments