code: def get_version(self):
          
          version = '{major}.{minor}.{patch}'.format(**self.version_info)
  
          if self.pre_release:
              version = '{}-{label}.{pre}'.format(version, **self.version_info)
          return version
docs: Return complete version string.