code: def bump(release_type):
      version_info = semver.parse_version_info(__version__)
      if release_type == "MAJOR":
          return version_info.bump_major()
      elif release_type == "MINOR":
          return version_info.bump_minor()
      elif release_type == "PATCH":
          return version_info.bump_patch()
      elif release_type == "ALPHA":
          return version_info.bump_prerelease(token="a")
      elif release_type == "BETA":
          return version_info.bump_prerelease(token="b")
      elif release_type == "RC":
          return version_info.bump_prerelease(token="rc")
      else:
          raise Exception(
              "Release type must be one of the following:",
              ", ".join(RELEASE_TYPES),
          )
  
file_path: deck.gl/bindings/pydeck/bump_version.py
imports: import argparse
  import json
  import sys
  import semver
  import jinja2
  from pydeck._version import __version__
label_desc: Use image node_id 1 for calling a global function with example usage: bump(release_type) and returns: version_info, version_info, version_info, version_info, version_info, version_info