[util/python-hint] Clean up to pass linter
Add missing argument in event listener