class_docstr: Base class for result versions.
class_docstr_tok: ["Base","class","for","result","versions","."]
code: def get_current(cls):
      current = None
      current_string = None
      for version_string in cls.get_all():
          version = semver.VersionInfo.parse(version_string)
          if current is None or version.compare(current) > 0:
              current = version
              current_string = version_string
      return current_string
  
imports: import semver
label_desc: Use image node_id 2 for calling the BaseVersions obj's underlying member method code with example usage: obj.get_current(cls) and returns: current_string