this may or may not be the problem, but event is a python class name, and you may be getting the error because you are overriding it. Bad practice at any rate.
Try using another name, like game_event or something similar
Try using another name, like game_event or something similar