https://github.com/GPflow/GPflow
Revision 0bf75f76f64fe58339ec9ef463c79fcf81d379da authored by st-- on 29 January 2019, 11:27:39 UTC, committed by GitHub on 29 January 2019, 11:27:39 UTC
The AutoBuild metaclass that is present in all Parameterized subclasses (e.g. models, kernels, likelihoods etc.) overwrote the `__init__` function and thereby replaced the signature with `*args, **kwargs`, which meant that the API documentation and command-line/IDE auto-completion was broken. This PR makes use of the "decorator" package (slightly hacked) to restore the original signatures (while allowing autobuild to still be passed as an additional keyword argument).
1 parent 5166d0f
Raw File
Tip revision: 0bf75f76f64fe58339ec9ef463c79fcf81d379da authored by st-- on 29 January 2019, 11:27:39 UTC
Fix AutoBuild metaclass to not screw up method signatures (#907)
Tip revision: 0bf75f7
MANIFEST.in
include doc/source/conf.py
include doc/source/*.rst
include doc/source/notebooks/*.ipynb
include README.md
include RELEASE.md
include LICENSE
include gpflow/gpflowrc
back to top