original_docstring: Adds to the "used" metric for the given quota.
docstring: Adds to the "used" metric for the given quota.
docstring_tokens: Adds to the " used " metric for the given quota .
code: def tally(self, name, value):
          """Adds to the "used" metric for the given quota."""
          value = value or 0  # Protection against None.
          # Start at 0 if this is the first value.
          if 'used' not in self.usages[name]:
              self.usages[name]['used'] = 0
          # Increment our usage and update the "available" metric.
          self.usages[name]['used'] += int(value)  # Fail if can't coerce to int.
          self.update_available(name)
code_tokens: def tally ( self , name , value ) : value = value or 0 if 'used' not in self . usages [ name ] : self . usages [ name ] [ 'used' ] = 0 self . usages [ name ] [ 'used' ] += int ( value ) self . update_available ( name )
short_docstring: Adds to the "used" metric for the given quota.
short_docstring_tokens: Adds to the " used " metric for the given quota .
comment: """Adds to the "used" metric for the given quota."""$SEP$# Protection against None.$SEP$# Start at 0 if this is the first value.$SEP$# Increment our usage and update the "available" metric.$SEP$# Fail if can't coerce to int.