def batch_get(self, requests):

        # Special case to allow passing a single request without making a list
        if not isinstance(requests, list):
            requests = [requests]

        groups = [self._build_thing_group(**request) for request in requests]
        info = '<info>' + ''.join(groups) + '</info>'

        (response, body, tree) = self._build_and_send_request("GetThings", info)
        #logger.debug("get_things response body:\n%s", body)
        info = tree.find('{urn:com.microsoft.wc.methods.response.GetThings}info')
        response = [parse_group(group) for group in info.findall('group')]
        return response
Compare two data files for equivalence.
dataset/ETHPy150Open orcasgit/python-healthvault/healthvaultlib/healthvault.py/HealthVaultConn.batch_get--crossover with--dataset/ETHPy150Open JamesPHoughton/pysd/tests/test-models-master/compare.py/compare