MCPcopy Index your code
hub / github.com/BrendanParmer/NodeToPython / Version

Class Version

tools/node_settings_generator/parse_nodes.py:20–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18 return self.name_ < other.name_
19
20class Version(NamedTuple):
21 major_: int
22 minor_: int
23
24 def tuple_str(self) -> str:
25 return f"({self.major_}, {self.minor_})"
26
27 def point_str(self) -> str:
28 return f"{self.major_}.{self.minor_}"
29
30class NodeInfo(NamedTuple):
31 versions_: list[Version]

Callers 2

parse_nodes.pyFile · 0.85
get_max_version_excFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected