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
docs_require.txt
ipykernel>=4.3.1
ipython>=4.2.0
ipython-genutils>=0.1.0
jupyter>=1.0.0
jupyter-client>=4.3.0
jupyter-console>=4.1.1
jupyter-contrib-core>=0.3.0
jupyter-core>=4.1.0
jupyter-nbextensions-configurator>=0.2.1
nbsphinx>=0.2.13
numpydoc>=0.6.0
Pygments>=2.1.3
scipy>=0.18.0
pandas>=0.18.1
sphinx_rtd_theme==0.1.9
tensorflow>=1.8
back to top