def set_preferences(self, **kwargs):
        json_data = "json={}".format(json.dumps(kwargs))
        headers = {'content-type': 'application/x-www-form-urlencoded'}
        return self._post('command/setPreferences', data=json_data,
                          headers=headers)
Gather information about an instance to be migrated.
dataset/ETHPy150Open v1k45/python-qBittorrent/qbittorrent/client.py/Client.set_preferences--crossover with--dataset/ETHPy150Open ganeti/ganeti/lib/backend.py/MigrationInfo