Source code for ska_ser_skallop.utils.generic_classes
from abc import abstractmethod
[docs]class Symbol:
@abstractmethod
def __str__(self) -> str:
"""
Return a string representation of the symbol.
:return: a string representation of the symbol.
"""
@property
@abstractmethod
def enabled(self) -> bool:
"""Whether the device is withing currently set scoped or not.
:return: True if the device is within the scope.
"""