Futures T = TypeVar('T') module-attribute execute_futures_dict(fs_dict) Source code in griptape/griptape/utils/futures.py 7 8 9 10def execute_futures_dict(fs_dict: dict[str, futures.Future[T]]) -> dict[str, T]: futures.wait(fs_dict.values(), timeout=None, return_when=futures.ALL_COMPLETED) return {key: future.result() for key, future in fs_dict.items()}