[Sqlalchemy-tickets] Issue #3945: Imported classes confuses intersphinx (zzzeek/sqlalchemy)
Brought to you by:
zzzeek
From: Charles Bouchard-L. <iss...@bi...> - 2017-03-24 18:08:02
|
New issue 3945: Imported classes confuses intersphinx https://bitbucket.org/zzzeek/sqlalchemy/issues/3945/imported-classes-confuses-intersphinx Charles Bouchard-Légaré: Sphinx (using [intersphinx](http://www.sphinx-doc.org/en/stable/ext/intersphinx.html)) can't find some classes from your objects.inv, resulting in See the [objects.inv](http://docs.sqlalchemy.org/en/latest/objects.inv) ```text WARNING: py:class reference target not found: sqlalchemy.ext.declarative.api.Schema ``` This can be worked around by assigning the `__module__` property of classes imported in any `__init__.py`. See also http://stackoverflow.com/a/24787344 |