First, thank you so much for creating this module, it is very useful!
I have a list of handles and I am using query_tweet to query and store the results:
first_week = []
for handle in handles:
list_of_tweets = query_tweets(handle, limit=None, begindate=dt.date(2020, 7, 1), enddate=dt.date.today(), poolsize=1, lang='')
first_week.append(list_of_tweets)
I am getting error message:
UnboundLocalError: local variable 'pool' referenced before assignment
I searched past issues and found suggestions to update, which I did, but the issue persists. I don't get this message when I use query_tweet for a single handle, so how is this related to the fact that I am using a for loop?
First, thank you so much for creating this module, it is very useful!
I have a list of handles and I am using query_tweet to query and store the results:
I am getting error message:
UnboundLocalError: local variable 'pool' referenced before assignment
I searched past issues and found suggestions to update, which I did, but the issue persists. I don't get this message when I use query_tweet for a single handle, so how is this related to the fact that I am using a for loop?