Community
Participate
Working Groups
autodoc.py", line 658, in import_object __import__(self.modname) Caused by python decorators .... with autodoc If I remove the decorators ... then it works @func_config(section="test") @func_logger("test") def query(table, parms="", **kwargs): """This method takes""" Sphinx==1.6.4 Python 2.7
@func_logger("test") File "C:\Python27\lib\site-packages\flask\app.py", line 1080, in decorator self.add_url_rule(rule, endpoint, f, **options) File "C:\Python27\lib\site-packages\flask\app.py", line 64, in wrapper_func return f(self, *args, **kwargs) File "C:\Python27\lib\site-packages\flask\app.py", line 1051, in add_url_rule 'existing endpoint function: %s' % endpoint) AssertionError: View function mapping is overwriting an existing endpoint function: query
Here is another complaint about the same issue: https://stackoverflow.com/questions/41971708/route-endpoint-conflicts-when-generating-sphinx-doc-for-flask-restful-api
I believe this issue is about the Sphinx python package (https://www.sphinx-doc.org/en/master/), not Eclipse Sphinx (https://eclipse.dev/sphinx/)