code: def _apply_dvs_product_info(product_info_spec, product_info_dict):
      '''
      Applies the values of the product_info_dict dictionary to a product info
      spec (vim.DistributedVirtualSwitchProductSpec)
      '''
      if product_info_dict.get('name'):
          product_info_spec.name = product_info_dict['name']
      if product_info_dict.get('vendor'):
          product_info_spec.vendor = product_info_dict['vendor']
      if product_info_dict.get('version'):
          product_info_spec.version = product_info_dict['version'f _apply_dvs_product_info(product_info_spec, product_info_dict):
      '''
      Applies the values of the product_info_dict dictionary to a product info
      spec (vim.DistributedVirtualSwitchProductSpec)
      '''
      if product_info_dict.get('name'):
          product_info_spec.name = product_info_dict['name']
      if product_info_dict.get('vendor'):
          product_info_spec.vendor = product_info_dict['vendor']
      if product_info_dict.get('version'):
          product_info_spec.version = product_info_dict['version']
docs: Applies the values of the product_info_dict dictionary to a product info
      spec (vim.DistributedVirtualSwitchProductSpec)