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

Method spec

misc/python/materialize/mzbuild.py:989–995  ·  view source on GitHub ↗

Return the "spec" for the image. A spec is the unique identifier for the image given its current fingerprint. It is a valid Docker Hub name.

(self)

Source from the content-addressed store, hash-verified

987
988 @cache
989 def spec(self) -> str:
990 """Return the "spec" for the image.
991
992 A spec is the unique identifier for the image given its current
993 fingerprint. It is a valid Docker Hub name.
994 """
995 return self.image.docker_name(tag=f"mzbuild-{self.fingerprint()}")
996
997 def write_dockerfile(self) -> IO[bytes]:
998 """Render the Dockerfile without mzbuild directives.

Callers 15

__repr__Method · 0.95
buildMethod · 0.95
_build_lockedMethod · 0.95
try_pullMethod · 0.95
is_publicMethod · 0.95
runMethod · 0.95
__init__Method · 0.95
write_dockerfileMethod · 0.80
publish_multiarch_imagesFunction · 0.80
mainFunction · 0.80

Calls 2

fingerprintMethod · 0.95
docker_nameMethod · 0.80

Tested by 1

_acquire_imageMethod · 0.64