import abc namespace

This commit is contained in:
2026-02-08 09:09:59 +00:00
parent e58d6c7242
commit 911d2f64a6
6 changed files with 16 additions and 16 deletions

View File

@@ -1,6 +1,6 @@
import abc
import logging
import time
from abc import ABCMeta, abstractmethod
from dataclasses import dataclass
logger = logging.getLogger(__name__)
@@ -78,7 +78,7 @@ class Modes:
)
class IRemote(metaclass=ABCMeta):
class IRemote(abc.ABC):
"""
Common interface between base class and extended (higher) classes
@@ -111,7 +111,7 @@ class IRemote(metaclass=ABCMeta):
return ''.join(cmd)
@property
@abstractmethod
@abc.abstractmethod
def identifier(self):
pass