Hello @staskh
From the error, it looks related to the urllib3 library (used by requests), which Databricks AutoML relies on under the hood. The method_whitelist parameter was deprecated and removed starting from urllib3==1.26.0. As far as I know, databricks-automl is pulling in a later version, which causes the issue.
Can you try manually installing an earlier version of urllib3, for example:
%pip install "urllib3==1.25.11"
dbutils.library.restartPython()
Then re-run the code.
If that doesnโt work, try installing:
%pip install "requests==2.26.0" "urllib3==1.26.2"
dbutils.library.restartPython()
and see if it resolves the problem.
Hope that helps. Let me know how it goes, we can try something else if needed.
Best,
Ilir