File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -212,6 +212,7 @@ def _get_git_repo_url(source_path: str):
212212 return ""
213213
214214
215+ @functools .lru_cache
215216def _get_pickled_target_dict (
216217 root_entity : typing .Union [WorkflowBase , PythonTask ],
217218) -> typing .Tuple [bytes , PickledEntity ]:
@@ -1078,7 +1079,6 @@ def register_task(
10781079 * FlyteRemote ._get_pod_template_hash (entity ),
10791080 )
10801081
1081- if self .interactive_mode_enabled :
10821082 serialization_settings .fast_serialization_settings = self ._pickle_and_upload_entity (
10831083 entity ,
10841084 pickled_target_dict ,
@@ -1130,7 +1130,6 @@ def register_workflow(
11301130 * FlyteRemote ._get_pod_template_hash (entity ),
11311131 )
11321132
1133- if self .interactive_mode_enabled :
11341133 serialization_settings .fast_serialization_settings = self ._pickle_and_upload_entity (
11351134 entity ,
11361135 pickled_target_dict ,
You can’t perform that action at this time.
0 commit comments