googleapis / sphinx-docfx-yaml

Forked sphinx-docfx-yaml repository for creating DocFX YAML for Python Client Libraries
Apache License 2.0
5 stars 7 forks source link

fix: retrieve keyword arguments for docstrings #389

Closed dandhlee closed 2 months ago

dandhlee commented 3 months ago

From inspect.getfullargspec, keyword arguments were stored as different attributes, under kwonlyargs and kwonlydefaults.

Fixes #313. See b/358448617 for context and staging to verify the fixes.

dandhlee commented 2 months ago

Ran tests over several libraries locally.