

@classmethod
def _GetViewpointTitle(cls, viewpoint):
    'Returns the title of the viewpoint, or the empty string if no title exists.'
    viewpoint_title = (viewpoint.title if (viewpoint is not None) else None)
    if (viewpoint_title is not None):
        return (': "%s"' % viewpoint_title)
    return ''

dataset/ETHPy150Open viewfinderco/viewfinder/backend/op/alert_manager.py AlertManager._GetViewpointTitle/original