Skip to content

Commit

Permalink
22284: Refactors hierarchy parameters, MAJOR
Browse files Browse the repository at this point in the history
  • Loading branch information
howsoRes committed Nov 26, 2024
1 parent f436c0c commit 864c90c
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions howso/client/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -849,8 +849,8 @@ def move_cases(
precision: t.Optional[Precision] = None,
preserve_session_data: bool = False,
source_id: t.Optional[str] = None,
source_name_path: t.Optional[Collection[str]] = None,
target_name_path: t.Optional[Collection[str]] = None,
source_path: t.Optional[Collection[str]] = None,
target_path: t.Optional[Collection[str]] = None,
target_id: t.Optional[str] = None
) -> int:
"""
Expand Down Expand Up @@ -915,17 +915,17 @@ def move_cases(
When True, will move cases without cleaning up session data.
source_id : str, optional
The source trainee unique id from which to move cases. Ignored
if source_name_path is specified. If neither source_name_path nor
if source_path is specified. If neither source_path nor
source_id are specified, moves cases from the trainee itself.
source_name_path : list of str, optional
source_path : list of str, optional
List of strings specifying the user-friendly path of the child
subtrainee from which to move cases.
target_name_path : list of str, optional
target_path : list of str, optional
List of strings specifying the user-friendly path of the child
subtrainee to move cases to.
target_id : str, optional
The target trainee id to move the cases to. Ignored if
target_name_path is specified. If neither target_name_path nor
target_path is specified. If neither target_path nor
target_id are specified, moves cases to the trainee itself.
Returns
Expand Down Expand Up @@ -963,8 +963,8 @@ def move_cases(
"preserve_session_data": preserve_session_data,
"session": self.active_session.id,
"source_id": source_id,
"source_name_path": source_name_path,
"target_name_path": target_name_path
"source_path": source_path,
"target_path": target_path
})
self._auto_persist_trainee(trainee_id)
if not result:
Expand Down

0 comments on commit 864c90c

Please sign in to comment.