This repository has been archived on 2024-05-31. You can view files and clone it, but cannot push or open issues or pull requests.
devicehub-teal/ereuse_devicehub/resources/metric/definitions.py

11 lines
288 B
Python
Raw Normal View History

2020-11-23 17:03:06 +00:00
from ereuse_devicehub.resources.metric.schema import Metric
2020-11-25 12:58:32 +00:00
from ereuse_devicehub.resources.metric.views import MetricsView
2023-03-21 11:08:13 +00:00
from ereuse_devicehub.teal.resource import Resource
2020-11-23 17:03:06 +00:00
class MetricDef(Resource):
__type__ = 'Metric'
VIEW = MetricsView
SCHEMA = Metric
AUTH = True