MCPcopy Create free account
hub / github.com/dbcli/mycli / __init__

Method __init__

mycli/sqlexecute.py:41–44  ·  view source on GitHub ↗
(self, species: ServerSpecies | None, version_str: str)

Source from the content-addressed store, hash-verified

39
40class ServerInfo:
41 def __init__(self, species: ServerSpecies | None, version_str: str) -> None:
42 self.species = species
43 self.version_str = version_str
44 self.version = self.calc_mysql_version_value(version_str)
45
46 @staticmethod
47 def calc_mysql_version_value(version_str: str) -> int:

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected