Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clear the old query in new api call #51

Closed
mikebgrep opened this issue Dec 27, 2020 · 2 comments
Closed

Clear the old query in new api call #51

mikebgrep opened this issue Dec 27, 2020 · 2 comments

Comments

@mikebgrep
Copy link

mikebgrep commented Dec 27, 2020

Do it have some function like clear the old query.Because when I make a search for followers of an user it save the search on the next search give me same result.I am not sure its from my flask application or is it from the bot.Thanks
ps.Definitely is from the api I try on simple script if I not close it didn`t load the updated information

@jaraya81
Copy link

You should use the parameter use_cache = False in the method user_followers, by default it's True.

@mikebgrep
Copy link
Author

Great thank you

@adw0rd adw0rd closed this as completed Dec 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants