Skip to content
This repository has been archived by the owner on Feb 5, 2024. It is now read-only.

Service object inconsistency? #18

Open
ghost opened this issue Jun 28, 2016 · 0 comments
Open

Service object inconsistency? #18

ghost opened this issue Jun 28, 2016 · 0 comments

Comments

@ghost
Copy link

ghost commented Jun 28, 2016

Does anyone know why these don't work?

services = client.list_services()

# Why do only some of these work?
print services[0].id           # Works
print services[0].name         # Works
# print services[0].version      # Doesn't work
# print services[0].versions     # Doesn't work
# print services[0].updated_at   # Doesn't work
print "-----------"

# But all of these work fine
print services[0]._data.get('id', None)
print services[0]._data.get('name', None)
print services[0]._data.get('version', None)
print services[0]._data.get('versions', None)
print services[0]._data.get('updated_at', None)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants