Skip to content
New issue

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

I can't reach user profile #205

Open
mkucharz opened this issue Jun 6, 2016 · 0 comments
Open

I can't reach user profile #205

mkucharz opened this issue Jun 6, 2016 · 0 comments
Labels

Comments

@mkucharz
Copy link
Member

mkucharz commented Jun 6, 2016

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)

@mkucharz mkucharz added the bug label Jun 6, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant