code: def __str__(self):
      if self.version is None:
          return self.name
      else:
          return f"{self.name}:{self.version}"
  
imports: import base64
  import logging
  import re
  import typing
  import uuid
  import attr
  import fs
  from ..exceptions import BentoMLException
  from .utils import bentoml_cattr
label_desc: Use image node_id 2 for calling the Tag obj's underlying member method code with example usage: obj.__str__() and returns: self, self, str, self