Refresh_cache not in code although docs point to it

Here in the docs:

It is mentioned that we have refresh_cache as parameter of the task. I can not find it in the code.