(obj, methods=False, value=False, width=50)
| 56 | |
| 57 | |
| 58 | def render(obj, methods=False, value=False, width=50) -> str: |
| 59 | console = Console(file=io.StringIO(), width=width, legacy_windows=False) |
| 60 | inspect(obj, console=console, methods=methods, value=value) |
| 61 | return console.file.getvalue() |
| 62 | |
| 63 | |
| 64 | class InspectError(Exception): |
no test coverage detected