Can you add a warning, like warnings.warn(..., stacklevel=2), with that message?