Source code for plasoscaffolder.model.init_data_model

# -*- coding: utf-8 -*-
"""The Init Data model class."""
from plasoscaffolder.model import base_data_model


[docs]class InitDataModel(base_data_model.BaseDataModel): """Class for the data for the init template.""" def __init__(self, plugin_name: str, is_create_template: bool): """Initialises the formatter data model. Args: plugin_name (str): the name of the plugin is_create_template (bool): true if it is a create template """ super().__init__(plugin_name) self.is_create_template = is_create_template