class_docstr: Version class object that stores SemVer version information.
class_docstr_tok: ["Version","class","object","that","stores","SemVer","version","information","."]
docstr: Constructor.
  
  Args:
    major: major string eg. (1)
    minor: minor string eg. (3)
    patch: patch string eg. (1)
    identifier_string: extension string eg. (-rc0)
    version_type: version parameter ((REGULAR|NIGHTLY)_VERSION)
docstr_tok: ["Constructor",".","Args",":","major",":","major","string","eg",".","(","1",")","minor",":","minor","string","eg",".","(","3",")","patch",":","patch","string","eg",".","(","1",")","identifier_string",":","extension","string","eg",".","(","-rc0",")","version_type",":","version","parameter","(","(","REGULAR|NIGHTLY",")","_VERSION",")"]
code: def __init__(
      self, major, minor, patch, identifier_string, version_type
  ):
      """Constructor.
  
      Args:
        major: major string eg. (1)
        minor: minor string eg. (3)
        patch: patch string eg. (1)
        identifier_string: extension string eg. (-rc0)
        version_type: version parameter ((REGULAR|NIGHTLY)_VERSION)
      """
      self.major = major
      self.minor = minor
      self.patch = patch
      self.identifier_string = identifier_string
      self.version_type = version_type
      self._update_string()
  
imports: import argparse
  import os
  import re
  import subprocess
  import time
label_desc: Use image node_id 1 to create a new Version object from inherited base classes: object with example: obj = Version(major, minor, patch, identifier_string, version_type)