MCPcopy Index your code
hub / github.com/apache/cassandra-python-driver / _tuple_version

Function _tuple_version

tests/integration/__init__.py:98–102  ·  view source on GitHub ↗
(version_string)

Source from the content-addressed store, hash-verified

96
97
98def _tuple_version(version_string):
99 if '-' in version_string:
100 version_string = version_string[:version_string.index('-')]
101
102 return tuple([int(p) for p in version_string.split('.')])
103
104
105def cmd_line_args_to_dict(env_var):

Callers 1

get_server_versionsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected