<filename>gras/base_model.py
from abc import ABCMeta, abstractmethod


class BaseModel(metaclass=ABCMeta):
    def __init__(self):
        self.type_ = type(self).__name__

    @abstractmethod
    def object_decoder(self, **kwargs):
        pass

<filename>gras/base_model.py
from abc import ABCMeta, abstractmethod


class BaseModel(metaclass=ABCMeta):
    def __init__(self):
        self.type_ = type(self).__name__

    @abstractmethod
    def object_decoder(self, **kwargs):
        pass
