From ce2eced543e7f16b359981e9af448e84ac3a0825 Mon Sep 17 00:00:00 2001 From: Thanh Son Phung Date: Mon, 16 Dec 2024 15:59:11 -0500 Subject: [PATCH] add annotation --- parsl/executors/taskvine/executor.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/parsl/executors/taskvine/executor.py b/parsl/executors/taskvine/executor.py index 77559ed09..572729a6c 100644 --- a/parsl/executors/taskvine/executor.py +++ b/parsl/executors/taskvine/executor.py @@ -20,7 +20,7 @@ import uuid from concurrent.futures import Future from datetime import datetime -from typing import List, Literal, Optional, Union +from typing import Dict, List, Literal, Optional, Union # Import other libraries import typeguard @@ -183,7 +183,7 @@ def __init__(self, # path to serialized function contexts, and whether functions are serialized. # Helpful to detect inconsistencies in serverless functions. # Helpful to deduplicate the same function. - self._map_func_names_to_func_details = {} + self._map_func_names_to_func_details: Dict[str, Dict] = {} # Helper scripts to prepare package tarballs for Parsl apps self._package_analyze_script = shutil.which("poncho_package_analyze")