We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
client.list_apps() { "acceptedResourceRoles": null, "backoffFactor": 1.15, "backoffSeconds": 1, "labels": {}, "cpus": 0.5, "requirePorts": false, "instances": 1, "tasksStaged": 0, "healthChecks": [], "disk": 0, "id": "/redis-3", "maxLaunchDelaySeconds": 3600, "container": { "docker": { "image": "redis:2.8.23", "forcePullImage": false, "network": "HOST", "parameters": [ { "value": "true", "key": "oom-kill-disable" } ], "privileged": false }, "type": "DOCKER", "volumes": [ { "hostPath": "/var/log/redis-2", "containerPath": "/var/log/mesos", "mode": "RW" } ] }, "deployments": [], "version": "2015-12-10T07:21:46.529Z", "env": {}, "uris": [], "mem": 64, "args": null, "tasksRunning": 1, "dependencies": [], "user": null, "storeUrls": [], "tasksUnhealthy": 0, "versionInfo": { "lastScalingAt": "2015-12-10T07:21:46.529Z", "lastConfigChangeAt": "2015-12-10T07:21:46.529Z" }, "upgradeStrategy": { "maximumOverCapacity": 1, "minimumHealthCapacity": 1 }, "cmd": "redis-server --port $PORT0 --dbfilename redis-2", "tasksHealthy": 0, "executor": "", "ipAddress": null, "ports": [ 10010 ], "constraints": [] } Traceback (most recent call last): File "", line 1, in File "/home/zhechen/works/titan/marathon/client/client.py", line 132, in list_apps apps = self._parse_response(response, MarathonApp, is_list=True, resource_name='apps') File "/home/zhechen/works/titan/marathon/client/client.py", line 45, in _parse_response return [clazz.from_json(resource) for resource in target] File "/home/zhechen/works/titan/marathon/client/models/base.py", line 36, in from_json return cls(**{to_snake_case(k): v for k,v in attributes.items()}) TypeError: init() got an unexpected keyword argument 'ip_address'
The text was updated successfully, but these errors were encountered:
Fixed by #77, please follow that PR instead. (or if you feel really ambitious, rebase it and make a new PR)
Sorry, something went wrong.
No branches or pull requests
The text was updated successfully, but these errors were encountered: