@classmethod<EOL><INDENT>def _check_metrics(cls, schema, metrics):<DEDENT>
for name, value in metrics.items():<EOL><INDENT>metric = schema.get(name)<EOL>if not metric:<EOL><INDENT>message = "<STR_LIT>".format(name)<EOL>raise Exception(message)<EOL><DEDENT>cls._check_metric(schema, metric, name, value)<EOL><DEDENT>
Ensure that returned metrics are properly exposed