Systematically extract class, method and function signatures in python
03-09-2025
-
https://github.com/fastapi/fastapi/blob/master/fastapi/exceptions.py
-
define object signatures (for classes, methods, and functions), including:
- docstrings (summary and examples)
- input parameters (names, type hints, defaults, descriptions, using annotated types)
- return type (type hints, using annotated types)
-
generate string representation of the object call / usage
-
parse and execute the string representation using the ast module