app/server/restful_api/data/v1/endpoints/system_cpus.py
from .system__general_child import SystemGeneralChildEndpoint
class SystemCpusEndpoint(SystemGeneralChildEndpoint):
@classmethod
def _get_component_metric(cls) -> str:
return "cpus"
@classmethod
def get_name(cls):
return "GIVE ME A NAME"
@classmethod
def get_paths(cls):
return [
"/system/cpus"
]