From 711cc2b239e407330b8902484e52301f4f6e580b Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Mon, 17 Apr 2023 02:15:06 +0200 Subject: [PATCH] Removed (now unused) `CpuTimesResponse`. --- platypush/message/response/system/__init__.py | 34 ------------------- 1 file changed, 34 deletions(-) diff --git a/platypush/message/response/system/__init__.py b/platypush/message/response/system/__init__.py index 26e264365..3f28dab7a 100644 --- a/platypush/message/response/system/__init__.py +++ b/platypush/message/response/system/__init__.py @@ -28,40 +28,6 @@ class SensorResponse(SystemResponse): pass -class CpuTimesResponse(CpuResponse): - def __init__( - self, - user: float, - nice: float, - system: float, - idle: float, - iowait: float, - irq: float, - softirq: float, - steal: float, - guest: float, - guest_nice: float, - *args, - **kwargs - ): - super().__init__( - *args, - output={ - 'user': user, - 'nice': nice, - 'system': system, - 'idle': idle, - 'iowait': iowait, - 'irq': irq, - 'softirq': softirq, - 'steal': steal, - 'guest': guest, - 'guest_nice': guest_nice, - }, - **kwargs - ) - - class CpuStatsResponse(CpuResponse): def __init__( self,