Exemplo n.º 1
0
    def __init__(self, premodel_data):
        '''@__init__
        This constructor is responsible for defining class variables, using the
        superclass 'Base' constructor, along with the
        constructor in this subclass.
        @super(), implement 'Base', and 'Base_Data' superclass constructor
            within this child class constructor.
        Note: the superclass constructor expects the same 'premodel_data'
              argument.
        '''

        super(Model_Generate, self).__init__(premodel_data)
        self.kernel = str(premodel_data['data']['settings']['sv_kernel_type'])
        self.session_id = premodel_data['data']['settings']['session_id']
        self.feature_request = Retrieve_Feature()
        self.list_error = []