forked from veles_labs/pyveles
Removing changes that should be in separate PR
This commit is contained in:
parent
fb95c7061d
commit
84b02a024f
@ -1,5 +1,5 @@
|
||||
from typing import Final, Dict, Any, TypeVar, Type, Iterable
|
||||
from .generic import Device
|
||||
from .generic import Device, NoResponseError
|
||||
from .sensor_wired import SensorWiredIAQ, SensorWiredRHT
|
||||
|
||||
# links device identifiers to its class
|
||||
|
@ -3,10 +3,7 @@ from dataclasses import dataclass
|
||||
from typing import Dict, Any
|
||||
from abc import ABC, abstractmethod
|
||||
|
||||
import sys
|
||||
py310 = sys.version_info.minor >= 10 or sys.version_info.major > 3
|
||||
|
||||
@dataclass(**({"slots": True} if py310 else {}))
|
||||
@dataclass(slots=True)
|
||||
class ReadoutErrorCounter:
|
||||
"""Class used to track readout errors"""
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user