Using cursor to infer lintable python library classes and methods

What’s best practice for making cursor.sh more deeply understand a python package that has mostly consistent documentation but is installed and lintable – where the linting should suggest what imports are in fact false.

In practice, cursor will suggest imports and methods that are somewhat out of date, which I then have to try again or dig around for the correct method. But since these are lintable cursor should have a way of knowing what method to suggest and which are invalid.