Core: add generator_version to network protocol

This commit is contained in:
Fabian Dill
2023-04-25 13:26:52 +02:00
committed by Fabian Dill
parent 4c3eaf2996
commit 6c459066a7
4 changed files with 25 additions and 14 deletions

View File

@@ -38,6 +38,9 @@ class Version(typing.NamedTuple):
minor: int
build: int
def as_simple_string(self) -> str:
return ".".join(str(item) for item in self)
__version__ = "0.4.1"
version_tuple = tuplize_version(__version__)