Commit de852d8e authored by Spiros Koulouzis's avatar Spiros Koulouzis

fixed attributes in model

parent 0628c21a
...@@ -18,8 +18,6 @@ ...@@ -18,8 +18,6 @@
additionalProperties: additionalProperties:
type: object type: object
outputs: outputs:
type: "array"
items:
type: object type: object
additionalProperties: additionalProperties:
type: object type: object
......
...@@ -73,7 +73,7 @@ def get_tosca_template_dict_by_id(id): ...@@ -73,7 +73,7 @@ def get_tosca_template_dict_by_id(id):
def save(file): def save(file):
tosca_template_file_path = os.path.join(db_dir_path, file.filename) # tosca_template_file_path = os.path.join(db_dir_path, file.filename)
tosca_template_dict = yaml.safe_load(file.stream) tosca_template_dict = yaml.safe_load(file.stream)
tosca_template_model = ToscaTemplateModel.from_dict(tosca_template_dict) tosca_template_model = ToscaTemplateModel.from_dict(tosca_template_dict)
tosca_template = ToscaTemplate(yaml_dict_tpl=tosca_template_dict) tosca_template = ToscaTemplate(yaml_dict_tpl=tosca_template_dict)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment