File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 9
9
import sys
10
10
from pathlib import Path
11
11
import typing as ty
12
- from copy import deepcopy
12
+ from copy import deepcopy , copy
13
13
from uuid import uuid4
14
14
from filelock import SoftFileLock
15
15
import shutil
@@ -286,10 +286,10 @@ def checksum_states(self, state_index=None):
286
286
]
287
287
288
288
if state_index is not None :
289
- inputs_copy = deepcopy (self .inputs )
289
+ inputs_copy = copy (self .inputs )
290
290
for key , ind in self .state .inputs_ind [state_index ].items ():
291
291
val = self ._extract_input_el (
292
- inputs = inputs_copy , inp_nm = key .split ("." )[1 ], ind = ind
292
+ inputs = self . inputs , inp_nm = key .split ("." )[1 ], ind = ind
293
293
)
294
294
setattr (inputs_copy , key .split ("." )[1 ], val )
295
295
# setting files_hash again in case it was cleaned by setting specific element
You can’t perform that action at this time.
0 commit comments