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