Skip to content

Parse "non constant" attribute values #296

@freddyaboulton

Description

@freddyaboulton

I'm building documentation for my python package and some of my classes have class-level attributes. These can sometimes take the value of dictionaries, or python enums.

I was trying to get these values to show up in the documentation by messing with the template, but I learned that the value of these attributes is None because they're not constant.

Is is possible to support the automatic parsing of non-constant values? Right now, I can document the values of these attributes in the docstring and mess around with the attribute template but that leads to duplication so I'm looking for a more maintainable solution.

Thanks!

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