(name, process, shell)
| 215 | # Get a bytes or string representation of an object in the process |
| 216 | @process_task |
| 217 | def getClass(name, process, shell): |
| 218 | try: |
| 219 | obj = get_env(shell.user_ns)[name] |
| 220 | obj_type = type(obj) |
| 221 | return obj_type.__module__ + "." + obj_type.__name__ |
| 222 | except: |
| 223 | return None |
| 224 | |
| 225 | |
| 226 | @process_task |
no test coverage detected