Add changelog entries for #4352
This commit is contained in:
1
changelog/4352.fixed.2.md
Normal file
1
changelog/4352.fixed.2.md
Normal file
@@ -0,0 +1 @@
|
||||
- Fixed direct-function registration crashing for functions without a docstring. `DirectFunctionWrapper` passed `inspect.getdoc()`'s result to `docstring_parser.parse()`, which raises when the docstring is `None`. Functions now register cleanly whether or not they have a docstring; an empty docstring produces empty description and parameter metadata as expected.
|
||||
Reference in New Issue
Block a user