Gets the condition value based on the operator and value

        :param operator: the condition operator name
        :type operator: str
        :param value: the value to be formatted based on the condition operator
        :type value: object

        :return: the comparison operator from the Where class's comparison_map
        :rtype: str

def get_condition_value(self, operator, value):
        """
        Gets the condition value based on the operator and value

        :param operator: the condition operator name
        :type operator: str
        :param value: the value to be formatted based on the condition operator
        :type value: object

        :return: the comparison operator from the Where class's comparison_map
        :rtype: str
        """
        if operator in ('contains', 'icontains'):
            value = '%{0}%'.format(value)
        elif operator == 'startswith':
            value = '{0}%'.format(value)
        return value