Assume now I have a simple python script like
import requests
def do_something(response, *args, **kwargs):
#do something
url = "https://example.com/get/"
resp = requests.get(url, hooks={'response':do_something})
My question is: what exactly are passed to *args and **kwargs when getting the response?
I didn't find the answer on official documentation, so if you'd like to help me I'd be appreciate.