See https://github.com/scikit-learn/scikit-learn/issues/30237#issuecomment-2465572885, our `__getattr__` wrapping is a bit of an unreliable hack.
See scikit-learn/scikit-learn#30237 (comment), our
__getattr__wrapping is a bit of an unreliable hack.