def METHOD_NAME(self):
    """
    Deduces pricing type from node group type and pricing node type if not specified in the node
    itself.
    """
    if self.pricing_node_type == PRICING_UNKNOWN:
        return map_ng_to_pricing_type(
            self.node_group.node_type,
            self.virtualization,
        )
    return self.pricing_node_type