When you’re using automodapi, you’ll find that it will attempt to document all the APIs in your module, including those from imports of other packages.
What you need to do is use __all__ to curate the namespace of your modules to just the public APIs (functions, classes, module-level variables) that you are creating in that module.