def add_key(self, key):
    """Adds a new key to this metric"""
    if key not in self.value:
      self.value[key] = ReducedMetric(self.reducer)
def add_key(self, key):
    
    if key not in self.value:
      self.value[key] = ReducedMetric(self.reducer)
def add_key ( self , key ) : if key not in self . value : self . value [ key ] = ReducedMetric ( self . reducer )
Adds a new key to this metric
Adds a new key to this metric