MCPcopy Create free account
hub / github.com/MaterializeInc/materialize / skip

Method skip

misc/python/materialize/mzexplore/common.py:249–263  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

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
266def explain_file(path: Path) -> ExplainFile | None:

Callers 1

plansFunction · 0.95

Calls 1

warnFunction · 0.70

Tested by

no test coverage detected