Skip to content

Revise decorators to allow for docstring rendering #673

Description

@matthewfeickert

Description

All functions that are currently wrapped by decorators (such as pyhf.set_backend) are unable to produce proper docstrings that can be rendered by Sphinx. As outlined in this post by Hynek Schlawack a solution would to be to use something like wrapt to avoid this.

This should be investigated to make sure the API is properly documented on the website.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions