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
Describe the bug
If a pydantic field doesn't have a docstring, the docstring is not set to "", making the parser fail.
To Reproduce
Try to build the documentation of pytkdocs. It will hang because of a combination of this issue and #36
Expected behavior
Docstring should always be a string.
Additional context
Maybe we could simply accept None in the parsers and return immediately if it's None, rather than making sure the docstring is always set to "" as default.
The text was updated successfully, but these errors were encountered:
Describe the bug
If a pydantic field doesn't have a docstring, the docstring is not set to
""
, making the parser fail.To Reproduce
Try to build the documentation of pytkdocs. It will hang because of a combination of this issue and #36
Expected behavior
Docstring should always be a string.
Additional context
Maybe we could simply accept None in the parsers and return immediately if it's None, rather than making sure the docstring is always set to "" as default.
The text was updated successfully, but these errors were encountered: