What is the Current Way to Disable CSRF? (my_app = dash.Dash(csrf_protect=False))

Hi, I have been having CORS issues on an app I have on Dash and have seen tons of posts saying to simply add:
my_app = dash.Dash(csrf_protect=False)

However, when I do so I get an error amounting to the fact that “csrf_protect” is not an expected keyword. Was this removed? If so, what is the modern equivalent in Dash?