@@ -849,8 +849,8 @@ def move_cases(
849
849
precision : t .Optional [Precision ] = None ,
850
850
preserve_session_data : bool = False ,
851
851
source_id : t .Optional [str ] = None ,
852
- source_name_path : t .Optional [Collection [str ]] = None ,
853
- target_name_path : t .Optional [Collection [str ]] = None ,
852
+ source_path : t .Optional [Collection [str ]] = None ,
853
+ target_path : t .Optional [Collection [str ]] = None ,
854
854
target_id : t .Optional [str ] = None
855
855
) -> int :
856
856
"""
@@ -915,17 +915,17 @@ def move_cases(
915
915
When True, will move cases without cleaning up session data.
916
916
source_id : str, optional
917
917
The source trainee unique id from which to move cases. Ignored
918
- if source_name_path is specified. If neither source_name_path nor
918
+ if source_path is specified. If neither source_path nor
919
919
source_id are specified, moves cases from the trainee itself.
920
- source_name_path : list of str, optional
920
+ source_path : list of str, optional
921
921
List of strings specifying the user-friendly path of the child
922
922
subtrainee from which to move cases.
923
- target_name_path : list of str, optional
923
+ target_path : list of str, optional
924
924
List of strings specifying the user-friendly path of the child
925
925
subtrainee to move cases to.
926
926
target_id : str, optional
927
927
The target trainee id to move the cases to. Ignored if
928
- target_name_path is specified. If neither target_name_path nor
928
+ target_path is specified. If neither target_path nor
929
929
target_id are specified, moves cases to the trainee itself.
930
930
931
931
Returns
@@ -963,8 +963,8 @@ def move_cases(
963
963
"preserve_session_data" : preserve_session_data ,
964
964
"session" : self .active_session .id ,
965
965
"source_id" : source_id ,
966
- "source_name_path " : source_name_path ,
967
- "target_name_path " : target_name_path
966
+ "source_path " : source_path ,
967
+ "target_path " : target_path
968
968
})
969
969
self ._auto_persist_trainee (trainee_id )
970
970
if not result :
0 commit comments