Skip to content

Commit

Permalink
refactors bulk_deleter.delete_resources signature to make graphid, re…
Browse files Browse the repository at this point in the history
…sourceids kwargs with default None, re #10781
  • Loading branch information
whatisgalen committed May 2, 2024
1 parent 3b27571 commit 4df4638
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arches/app/etl_modules/bulk_data_deletion.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ def get_sample_data(self, nodegroup_id, resourceids):

return sample_data[0:5]

def delete_resources(self, userid, loadid, graphid, resourceids, verbose=False):
def delete_resources(self, userid, loadid, graphid=None, resourceids=None, verbose=False):
result = {"success": False}
deleted_count = 0
user = User.objects.get(id=userid) if userid else {}
Expand Down

0 comments on commit 4df4638

Please sign in to comment.