metrics.py 299 B

1234567891011121314
  1. class TestMetrics:
  2. metrics = {}
  3. def __getitem__(self, key):
  4. return self.metrics.__getitem__(key)
  5. def __setitem__(self, key, value):
  6. return self.metrics.__setitem__(key, value)
  7. def get(self, key):
  8. return self.metrics.get(key)
  9. test_metrics = TestMetrics()