Skip to content

Commit 1d9bfec

Browse files
kchertenkoparthea
authored andcommitted
chore(samples): add function invoking (#300)
Co-authored-by: Anthonios Partheniou <partheniou@google.com>
1 parent 2f4ee67 commit 1d9bfec

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

generated_samples/interactive-tutorials/events/setup_events/update_user_events_json.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,7 @@ def update_events_timestamp(json_file):
2222
with open(json_file, 'w') as file:
2323
file.write(filedata)
2424
print(f"The {json_file} is updated")
25+
26+
27+
if __name__ == "__main__":
28+
update_events_timestamp("../resources/user_events.json")

0 commit comments

Comments
 (0)