Existing app went to Okta MFA, automation stopped working

Hi, I have an app that has an API, and the app went to Okta MFA. My python automation uses that API, and logs in as a regular user. The automation will now need to use Okta to get to the API. I am unsure what needs to be done, and the docs don’t seem to mention python clients, other than Flask. Can anyone point me to the correct documentation, please?

Thanks,
Dave