Refactoring the sdc-BE-init python scripts
[sdc.git] / catalog-be / src / main / resources / scripts / sdcBePy / tosca / models / normativeTypeCandidate.py
1 from sdcBePy.common.helpers import check_arguments_not_none
2
3
4 class NormativeTypeCandidate:
5
6     def __init__(self, file_dir, normative_types_list):
7         if not check_arguments_not_none(file_dir, normative_types_list):
8             raise AttributeError("The file_dir, normative_types_list are missing")
9
10         self.file_dir = file_dir
11         self.normative_types_list = normative_types_list
12
13     def get_parameters(self):
14         return self.file_dir, self.normative_types_list