| 247 | return str(self.path()) |
| 248 | |
| 249 | def skip(self) -> bool: |
| 250 | # Skip items with database, schema, or item names that contain a `/` |
| 251 | # (not a valid UNIX folder character). |
| 252 | if "/" in self.database: |
| 253 | warn(f"Skip processing of item with bad database name: `{self.database}`") |
| 254 | return True |
| 255 | elif "/" in self.schema: |
| 256 | warn(f"Skip processing of item with bad schema name: `{self.schema}`") |
| 257 | return True |
| 258 | elif "/" in self.name: |
| 259 | warn(f"Skip processing of item with bad item name: `{self.name}`") |
| 260 | return True |
| 261 | # All good! |
| 262 | else: |
| 263 | return False |
| 264 | |
| 265 | |
| 266 | def explain_file(path: Path) -> ExplainFile | None: |