instagrapi
instagrapi copied to clipboard
user_followers function should be generator
Since this function takes a long time to process, it would be much nicer if it gave the users that were pulled with yield one by one.
I like yield, but I don't understand how it will help to become faster
because it can only work slowly because of requests to instagram, there is nothing more to work slowly
I like yield, but I don't understand how it will help to become faster
because it can only work slowly because of requests to instagram, there is nothing more to work slowly
I wanted to say this in terms of the code I will write, if there is no generator, it has to wait, if your code was a generator, it could be actively run.