I have a twitter API used in my Django project.
Right now I keep initialization in my
I just import API from
. I am not sure if it's a good practice as I've never seen it. Do I need to create API instance somewhere in
or even in the task function?