in another use case i did need to convert to dict. and had some errors, to correct those i did the following
api_response = client.crm.objects.associations_api.get_all(object_type="2-7431691", object_id=f'{object_id_sg}', to_object_type="0-1", api_string = (str(api_response))api_string = api_string.replace("'",'"')api_string = api_string.replace('None', "1")json_data = json.loads(api_string)