@property
def image_tag(self):
    if (not self.image):
        return None
    tagged_image = self.image.split(':')
    if (len(tagged_image) == 1):
        return 'latest'
    if (len(tagged_image) == 2):
        return ('latest' if ('/' in tagged_image[(- 1)]) else tagged_image[(- 1)])
    if (len(tagged_image) == 3):
        return tagged_image[(- 1)]
@property
def image_tag(self):
    if (not self.image):
        return None
    tagged_image = self.image.split(':')
    if (len(tagged_image) == 1):
        return 'latest'
    if (len(tagged_image) == 2):
        return ('latest' if ('/' in tagged_image[(- 1)]) else tagged_image[(- 1)])
    if (len(tagged_image) == 3):
        return tagged_image[(- 1)]