code: def with_dimensions(self, *dimensions):
      
      self.dimensions = tuple(
          self._maybe_make_dimension(dim) for dim in dimensions)
      self._cached = None
      return self
docs: Declare dimensions for this Measurement, returns self for chaining.