from abc import ABC, abstractmethod from typing import Any from mdrsclient.exceptions import UnexpectedException class BaseCommand(ABC): @classmethod @abstractmethod def register(cls, parsers: Any) -> None: raise UnexpectedException("Not implemented.")