Skip to content

Commit

Permalink
fix: remove useless prints
Browse files Browse the repository at this point in the history
Signed-off-by: LE SAULNIER Kevin <kevin.lesaulnier@rte-france.com>
  • Loading branch information
LE SAULNIER Kevin committed Apr 12, 2024
1 parent 9ec1a0a commit 6a4f05f
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions functions/delete_stashed_elements/delete_stashed_elements.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,7 @@ def delete_stashed_elements(dry_run):
print("Here are the elements that will be deleted")
print("\n".join(map(deleted_element_described, stashed_elements)))
if not dry_run :
print(constant.DELETE_EXPLORE_ELEMENTS)
data = {'ids': list(map(lambda element: element["elementUuid"], stashed_elements))}
print(data)
result = requests.delete(constant.DELETE_EXPLORE_ELEMENTS, params=data, headers={"userId": "supervision"})
if result.ok :
print("Elements were deleted with success")
Expand Down

0 comments on commit 6a4f05f

Please sign in to comment.