sphinx-autoapi icon indicating copy to clipboard operation
sphinx-autoapi copied to clipboard

Fix warning about returning tuples from `get_object_members()`

Open AWhetter opened this issue 10 months ago • 0 comments

Running the tests outputs the following warning:

.tox/py312/lib/python3.12/site-packages/sphinx/ext/autodoc/__init__.py:818: RemovedInSphinx80Warning: Returning tuples of (name, object) as the second return value from get_object_members() is deprecated. Return ObjectMember(name, object) instances instead.
    for (mname, member, isattr) in self.filter_members(members, want_all):

We should address this before Sphinx v8 is released and this warning becomes an error.

AWhetter avatar Apr 02 '24 05:04 AWhetter