Skip to content

Commit

Permalink
update doc string
Browse files Browse the repository at this point in the history
  • Loading branch information
kelvin-muchiri committed Nov 19, 2024
1 parent a59b418 commit 4189095
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion onadata/apps/api/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -214,9 +214,9 @@ def delete_xform_submissions_async(
"""Delete xform submissions asynchronously
:param xform_id: XForm id
:param deleted_by_id: User id who deleted the instances
: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
"""
try:
xform = XForm.objects.get(pk=xform_id)
Expand Down
2 changes: 1 addition & 1 deletion onadata/libs/utils/logger_tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -1480,9 +1480,9 @@ def delete_xform_submissions(
""" "Delete subset or all submissions of an XForm
:param xform: XForm object
:param deleted_by: User initiating the delete
: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
"""
if not soft_delete and not getattr(
Expand Down

0 comments on commit 4189095

Please sign in to comment.