def get_python_version(self) -> str:
if self.python_version is None:<EOL><INDENT>python_version = platform.python_version()<EOL><DEDENT>else:<EOL><INDENT>python_version = self.python_version<EOL><DEDENT>return python_version<EOL>
Returns either the specified version from settings or platform.python_version()