Can you please tell me why when I use on_data and on_response function at the same time, the latter does not work? I understand that the first function contains all information, but I already wrote a lot of code using on_response function and I just wanted to get a small part of on_data function.
class MyStream(tweepy.StreamingClient):
def on_data(self, raw_data):
print(raw_data)
def on_response(self, response):
print(response) #this part of code is not working