analyze Function¶
- analyze(obj)
Purpose¶
Return an Info wrapper for the given object.
Example¶
from piethorn.typing.analyze import analyze
def sample(a, /, b: int, *args, c=3, **kwargs) -> str:
return "ok"
info = analyze(sample)
info.arguments.positional