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

Function resource_path

misc/python/materialize/mzexplore/common.py:411–414  ·  view source on GitHub ↗
(name: str)

Source from the content-addressed store, hash-verified

409
410
411def resource_path(name: str) -> Path:
412 # NOTE: we have to do this cast because pyright is not comfortable with the
413 # Traversable protocol.
414 return cast(Path, resources.files(__name__)) / name
415
416
417def info(msg: str, fg: str = "green") -> None:

Callers 5

catalog_itemsMethod · 0.90
object_clustersMethod · 0.90
clone_dependenciesMethod · 0.90
arrangement_sizesMethod · 0.90
keywordsFunction · 0.90

Calls 1

filesMethod · 0.80

Tested by

no test coverage detected