(obj)
| 159 | |
| 160 | @staticmethod |
| 161 | def _load_obj(obj): |
| 162 | # By default it expects a qualname and import the object, but we |
| 163 | # have already loaded object after the API traversal. |
| 164 | if isinstance(obj, str): |
| 165 | return orig_load_obj(obj) |
| 166 | else: |
| 167 | return obj |
| 168 | |
| 169 | def signature(obj): |
| 170 | # inspect.signature tries to parse __text_signature__ if other |