(self, one_column: bool = False)
| 207 | return None |
| 208 | |
| 209 | def print(self, one_column: bool = False) -> None: |
| 210 | renderables = [ |
| 211 | i |
| 212 | for i in ( |
| 213 | self.ip_panel(), |
| 214 | self.whois_panel(), |
| 215 | ) |
| 216 | if i is not None |
| 217 | ] |
| 218 | |
| 219 | if len(renderables) == 0: |
| 220 | self.console.print(generate_notice("No data was found")) |
| 221 | return |
| 222 | |
| 223 | if one_column: |
| 224 | self.console.print(Group(*([""] + renderables))) # type: ignore |
| 225 | else: |
| 226 | self.console.print(Padding(Columns(renderables), (1, 0))) |
nothing calls this directly
no test coverage detected