This dict will also allow using the following construct:
Instead of if node.type == "tosca.nodes.Compute": have if node.type in TOSCA_TO_HOT_TYPE.get_other_keys("tosca.nodes.Compute", True):
This dict will also allow using the following construct:
Instead of nodes.Compute" : HOT_TYPE. get_other_ keys("tosca. nodes.Compute" , True):
if node.type == "tosca.
have
if node.type in TOSCA_TO_