Add changelog entries for #4352

This commit is contained in:
Mark Backman
2026-04-22 12:23:33 -04:00
parent b0962861c8
commit 4f6e76e6fd
3 changed files with 3 additions and 0 deletions

View 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.