Skip to content

Missing links for a union with an unevaluated type alias #481

Open
@nineteendo

Description

@nineteendo

It's not a big deal, but I would like the links to the type definitions to be present on all pages: https://jsonyx.readthedocs.io/en/latest/api/jsonyx.apply_patch.html

# conf.py
autodoc_type_aliases = {"_Operation": "_Operation"}
_Operation = dict[str, Any]

def apply_patch(
    obj: Any,
    patch: _Operation | list[_Operation],
    *,
    allow: Container[str] = NOTHING,
    use_decimal: bool = False,
) -> Any:
    ...
Screenshot 2024-09-11 at 20 23 12

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions