Skip to content

Commit 78dbbad

Browse files
authored
fix(retail): add region tag for Python - Update purge user events (#13496)
* Update search_with_pagination.py * Update purge_user_event.py
1 parent 0aa3d48 commit 78dbbad

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

retail/interactive-tutorials/events/purge_user_event.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515

1616
# Deleting user event using Retail API.
1717
#
18+
# [START retail_purge_user_events]
19+
1820
import google.auth
1921
from google.cloud.retail import PurgeUserEventsRequest, UserEventServiceClient
2022

@@ -48,6 +50,8 @@ def call_purge_user_events():
4850
print("---the purge operation was started:----")
4951
print(purge_operation.operation.name)
5052

53+
# [END retail_purge_user_events]
54+
5155

5256
write_user_event(visitor_id)
5357
call_purge_user_events()

0 commit comments

Comments
 (0)