[auto_docstring] Improve typing parsing and add tests (#43748)
* Fix tied weight keys sam2 video
* add tests + fix parameter type parsing
* nit less verbose
* fix style
* fix imports
* debug
* improve return section handling (use auto_docstring parsing/formatting methods)
* fix import errors
* improve how kwargs are displayed for processors and image processors
* add pytest benchmark + auto_docstring optimization
* nit
* fix modular
* improve get _get_base_kwargs_class handling
* add compatibility for python <3.12
* remove unnecessary ~
* Fix tests
* remove benchmark fixture usage
* add kwargs indicator