get value

def get_value(self, group, key=None):
        """get value"""
        if key is None:
            key = group

        obj = self.get_queryset_by_group_and_key(group=group, key=key).first()

        if obj is None:
            return None

        return obj.value