I am getting error saying there is no AssistantEventHandler while trying to implement streaming response in Assistance API , can any help me solving my issue

Got this error while trying to implement streaming response in my chatbot
I am following the document which Assistant APi has
https://platform.openai.com/docs/assistants/overview?context=with-streaming
getting import error
error7