Skip to content

I can't reach user profile #205

@mkucharz

Description

@mkucharz

I have additional field in my user profile github_login, I see that it is coming with the "raw" request:

In [218]: connection.User.please.raw().get(id=1)
Out[218]:
{u'groups': [],
 u'id': 1,
 u'links': {u'groups': u'/v1.1/instances/test/users/1/groups/',
  u'profile': u'/v1.1/instances/test/classes/user_profile/objects/1/',
  u'reset-key': u'/v1.1/instances/test/users/1/reset_key/',
  u'self': u'/v1.1/instances/test/users/1/'},
 u'profile': {u'channel': None,
  u'channel_room': None,
  u'created_at': u'2016-05-31T18:33:41.408006Z',
  u'github_key': u'KEY',
  u'github_login': u'LOGIN',
  u'group': None,
  u'group_permissions': u'none',
  u'id': 1,
  u'links': {u'owner': u'/v1.1/instances/test/users/1/',
   u'self': u'/v1.1/instances/test/classes/user_profile/objects/1/'},
  u'other_permissions': u'none',
  u'owner': 1,
  u'owner_permissions': u'full',
  u'revision': 4,
  u'updated_at': u'2016-06-04T22:54:34.221236Z'},
 u'user_key': u'KEY',
 u'username': u'EMAIL}

But I can't reach it that way:

In [219]: connection.User.please.get(id=1)

(github_login available is not in the user profile object)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions