diff --git a/create_events.py b/create_events.py index 5a683b1..7d04f8a 100644 --- a/create_events.py +++ b/create_events.py @@ -117,11 +117,17 @@ def main(): cur = conn.cursor() my_user = User(cursor=cur, name="John", age=95, hair_color="Gray") - my_user.update_user_details(age=96) - my_user.delete_user() + my_other_user = User(cursor=cur, name="Jane", age=3, hair_color="Fire Red") + my_other_user.update_user_details(age=15, hair_color="Golden Blonde") + my_other_user.update_user_details(age=35, hair_color="Touches of gray") + + my_immutable_user = User( + cursor=cur, name="The Dude", age=33, hair_color="Muffin Orange" + ) + # Commit the transaction conn.commit()