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

Method parse_mz

misc/python/materialize/mz_version.py:102–104  ·  view source on GitHub ↗

Parses a version string with prefix, for example: v0.45.0-dev (f01773cb1) or v0.115.0-dev.0

(cls: type[T], version: str, drop_dev_suffix: bool = False)

Source from the content-addressed store, hash-verified

100
101 @classmethod
102 def parse_mz(cls: type[T], version: str, drop_dev_suffix: bool = False) -> T:
103 """Parses a version string with prefix, for example: v0.45.0-dev (f01773cb1) or v0.115.0-dev.0"""
104 return cls.parse(version=version, drop_dev_suffix=drop_dev_suffix)
105
106 @classmethod
107 def parse_cargo(cls) -> MzVersion:

Callers 15

mzcompose.pyFile · 0.80
kubectl_setupMethod · 0.80
workflow_aws_upgradeFunction · 0.80
get_versionFunction · 0.80
validateMethod · 0.80
validateMethod · 0.80
validateMethod · 0.80
validateMethod · 0.80
valuesMethod · 0.80
validateMethod · 0.80
validate_clusterd_podFunction · 0.80

Calls 1

parseMethod · 0.45

Tested by 3

executeMethod · 0.64
create_sql_executorsMethod · 0.64