How to access "UiAutomator2Options" !?

I have migrated to “Appium v2.5.4” and my “Appium-Python-Client” is also version 4.0.0.
But the below command doesn’t work for me!?

:x: from appium.options.android import UiAutomator2Options

And it does this instead:

:exclamation: from appium.options.android import uiautomator2

How do I access UiAutomator2Options My programming language is Python :interrobang::question::grey_question::question: