code: def get_value(self, group, key=None):
          
          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
docs: get value