We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 85ea719 commit 4bb3015Copy full SHA for 4bb3015
1 file changed
src/executorlib/standalone/interactive/arguments.py
@@ -32,6 +32,15 @@ def find_future_in_list(lst):
32
33
34
def check_list_of_futures_is_done(future_lst: list[Future]) -> bool:
35
+ """
36
+ Check if all future objects in the list of future objects are done
37
+
38
+ Args:
39
+ future_lst (list): list of future objects
40
41
+ Returns:
42
+ bool: True if all future objects in the list of future objects are done, False otherwise
43
44
return len([future for future in future_lst if future.done()]) == len(future_lst)
45
46
0 commit comments