def search(self, query, entity_type=None):

        if entity_type:
            return self._get_url_json('entities.json', **{'search': query.encode('ascii', 'ignore'), 'type': entity_type})
        else:
            return self._get_url_json('entities.json', search=query.encode('ascii', 'ignore'))
Execute a set of commands in the Docker container.
dataset/ETHPy150Open sunlightlabs/python-transparencydata/influenceexplorer.py/Entities.search--crossover with--dataset/ETHPy150Open ClusterHQ/flocker/admin/client.py/DockerContainer.execute