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.
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 likewraptto avoid this.This should be investigated to make sure the API is properly documented on the website.