keras-team / keras-autodoc

Documentation autogeneration utilities.
Apache License 2.0
30 stars 22 forks source link

Functions with wrappers showing as having no arguments #17

Closed omalleyt12 closed 4 years ago

omalleyt12 commented 4 years ago

In particular wrapping a function with @contextlib.contextmanager is making it so that the arguments don't show up

Having this issue with kerastuner.HyperParameters.conditional_scope

@gabrieldemarmiesse

gabrieldemarmiesse commented 4 years ago

Well, if they hide the function parameters behind a *args, **kwargs signature, there isn't much we can do. I'll look into it and try to find a workaround.