Challenge 1
Add an attribute-read hook that logs the name and then performs normal lookup.
class User:
def __getattribute__(self, name):
print(f"read {name}")
user = User()
user.name = "Ada"
print(user.name)
Press Ctrl⌘Enter to check your answer