check_completeness

InventoryXmlParser.check_completeness(node, content, node_type)[source]

Check the completeness of a XML node.

Parameters
  • node (etree.SubElement) – The XML node to check.

  • content (dict of str) – The content of a node as a dictionary.

  • node_type (str) – The type of the node.

Returns

True, if the node has passed all checks.

Return type

boolean