You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a user dynamically loads a docstring, quartodoc does the following:
loads object statically (as griffe data)
loads object dynamically (as an import)
replaces the static object's docstring with the dynamic one
quartodoc tries to preserve the parser settings when doing this, by copying the settings from the static docstring. However, when there's no static docstring, it accidentally sets things like parser to None. This means that tools like griffe don't know it's parsing a numpy docstring.
From this ibis comment (cc @cpcloud , @jcrist): https://github.com/ibis-project/ibis/pull/10079/files/152f15265038453bd34a4742a1c34ac913ced186#r1752391475
When a user dynamically loads a docstring, quartodoc does the following:
quartodoc tries to preserve the parser settings when doing this, by copying the settings from the static docstring. However, when there's no static docstring, it accidentally sets things like parser to None. This means that tools like griffe don't know it's parsing a numpy docstring.
See
quartodoc/quartodoc/autosummary.py
Lines 234 to 242 in 4739a4e
The text was updated successfully, but these errors were encountered: