You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: parsl/executors/taskvine/executor.py
+15-17Lines changed: 15 additions & 17 deletions
Original file line number
Diff line number
Diff line change
@@ -178,14 +178,12 @@ def __init__(self,
178
178
# Path to directory that holds all tasks' data and results.
179
179
self._function_data_dir=""
180
180
181
-
# Mapping of function names to function objects
181
+
# Mapping of function names to function details
182
+
# Currently the values include function objects, path to serialized functions, path to serialized function contexts, and whether functions are serialized
182
183
# Helpful to detect inconsistencies in serverless functions
183
-
self._map_func_names_to_func_objs= {}
184
-
185
-
# Mapping of function names to file containing functions' serialization
186
184
# Helpful to deduplicate the same function
187
-
self._map_func_names_to_serialized_func_file= {}
188
-
185
+
self._map_func_names_to_func_details= {}
186
+
189
187
# Helper scripts to prepare package tarballs for Parsl apps
logger.warning('Inconsistency in a serverless function call detected. A function name cannot point to two different function objects. Falling back to executing it as a regular task.')
0 commit comments