def __eq__(self, other):
        return (isinstance(other, self.__class__) and
                other.package == self.package)
def get_schema(self):
        """Returns the set YAML schema for the metric class.

        Returns:
          YAML schema of the metrics type.
        """
        return self._schema