Skip to content

3.3.2 causing reference target not found errors for named tuples #485

Closed
@selimt

Description

@selimt

We recently started getting CI failures and the cause was the 3.3.2 release of autoapi.

Although a class was imported and declared in the rst file, we started getting the following error:

sphinx.errors.SphinxWarning: /app/docstring of catalog.CatalogClient.get_taggables_unique_values:1:py:class reference target not found: catalog.schemas.UniqueValue

UniqueValue is a named tuple is declared as:

UniqueValue = collections.namedtuple(
    "UniqueValue", ("value", "count")
)

And is included in the documentation as:

.. autoapimodule:: catalog.schemas
    :members:  [redacted], UniqueValue

Going back to release 3.3.1 resolves the issue.

Thanks in advance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions