Source code for plasoscaffolder.bll.mappings.base_sqliteplugin_mapping

# -*- coding: utf-8 -*-
"""Base class for mapper of SQLite plugins."""
import abc

from plasoscaffolder.model import base_data_model


[docs]class BaseSQLitePluginMapper(object): """Class representing the SQLite plugin base mapper.""" __metaclass__ = abc.ABCMeta @abc.abstractmethod
[docs] def GetRenderedTemplate( self, data: base_data_model.BaseDataModel) -> str: """Retrieves the template. Args: data (base_data_model.BaseDataModel): the data for template Returns: str: the rendered template """