| 189 | """ |
| 190 | |
| 191 | def ip_panel(self) -> Optional[Panel]: |
| 192 | content: List[RenderableType] = [] |
| 193 | for section in [ |
| 194 | self._gen_vt_section(), |
| 195 | self._gen_geoasn_section(), |
| 196 | self._gen_shodan_section(), |
| 197 | self._gen_urlhaus_section(), |
| 198 | self._gen_ip_other_section(), |
| 199 | ]: |
| 200 | if section is not None: |
| 201 | if len(content) > 0: |
| 202 | content.append("") |
| 203 | content.append(section) |
| 204 | |
| 205 | if len(content) > 0: |
| 206 | return self._gen_panel(self._gen_group(content), self.entity) |
| 207 | return None |
| 208 | |
| 209 | def print(self, one_column: bool = False) -> None: |
| 210 | renderables = [ |