Open kaktus42 opened 1 week ago
Thanks for the report @kaktus42. Even though we could consider it a new feature, the behavior doesn't match what the user can expect, so I'll mark this as a bug.
Here is how I see things could be rendered:
This will bring rudimentary support for such cases. We have other issues in our backlog to improve support for overloads.
Description of the bug
When using
merge_init_into_class
, signature overloads (typing.overload) are not merged into the class' docs.To Reproduce
Example:
Expected behavior
The overload defs should also be rendered.
Environment information
griffe
v1.5.1Additional context