Return signature without evaluating annotations.
(obj: Callable[..., Any])
| 66 | |
| 67 | |
| 68 | def signature(obj: Callable[..., Any]) -> Signature: |
| 69 | """Return signature without evaluating annotations.""" |
| 70 | if sys.version_info >= (3, 14): |
| 71 | return inspect.signature(obj, annotation_format=Format.STRING) |
| 72 | return inspect.signature(obj) |
| 73 | |
| 74 | |
| 75 | def getlocation(function, curdir: str | os.PathLike[str] | None = None) -> str: |
no outgoing calls
no test coverage detected
searching dependent graphs…