File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
executorlib/standalone/interactive Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -44,7 +44,9 @@ def get_exception_lst(future_lst: list[Future]) -> list:
4444 list: list of exceptions raised by the future objects in the list of future objects. Returns empty list if no
4545 exception was raised.
4646 """
47- return [f .exception () for f in future_lst if check_exception_was_raised (future_obj = f )]
47+ return [
48+ f .exception () for f in future_lst if check_exception_was_raised (future_obj = f )
49+ ]
4850
4951
5052def check_exception_was_raised (future_obj : Future ) -> bool :
@@ -88,4 +90,4 @@ def get_result(arg: Union[list[Future], Future]) -> Any:
8890
8991 args = tuple ([get_result (arg = arg ) for arg in args ])
9092 kwargs = {key : get_result (arg = value ) for key , value in kwargs .items ()}
91- return args , kwargs
93+ return args , kwargs
You can’t perform that action at this time.
0 commit comments