From 4b4877d26b10c95aa1c349b3b616873489ae0cc2 Mon Sep 17 00:00:00 2001 From: Kelvin Muchiri Date: Fri, 15 Nov 2024 12:58:55 +0300 Subject: [PATCH] update docstring --- onadata/apps/api/tasks.py | 2 +- onadata/libs/utils/logger_tools.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/onadata/apps/api/tasks.py b/onadata/apps/api/tasks.py index fa60eef27f..7e7388129a 100644 --- a/onadata/apps/api/tasks.py +++ b/onadata/apps/api/tasks.py @@ -214,7 +214,7 @@ def delete_xform_submissions_async( """Delete xform submissions asynchronously :param xform_id: XForm id - :param instance_ids: List of instance ids to delete + :param instance_ids: List of instance ids to delete, None to delete all :param soft_delete: Soft delete instances if True, otherwise hard delete :param deleted_by_id: User id who deleted the instances """ diff --git a/onadata/libs/utils/logger_tools.py b/onadata/libs/utils/logger_tools.py index 27bda2d02d..7870af565f 100644 --- a/onadata/libs/utils/logger_tools.py +++ b/onadata/libs/utils/logger_tools.py @@ -1479,7 +1479,7 @@ def delete_xform_submissions( """ "Delete subset or all submissions of an XForm :param xform: XForm object - :param instance_ids: List of instance ids to delete, if None, all submissions + :param instance_ids: List of instance ids to delete, None to delete all :param soft_delete: Flag to soft delete or hard delete :param deleted_by: User initiating the delete :return: None