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

Service object inconsistency? #18

Description

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions