Skip to content

Conversation

@tonk0112
Copy link

What does this PR do?

(Briefly describe what this PR is about.)

Why was this PR needed?

(Briefly describe reasons.)

What are the relevant issue numbers?

(List issue numbers here.)

Does this PR meet the acceptance criteria?

  • Passes flake8 (refer to .travis.yml)
  • Docs are buildable
  • Branch has no merge conflicts with master
  • Is covered by a test

class FriendshipsEndpointsMixin(object):
"""For endpoints in ``/friendships/``."""

def duje_cc(self):
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

b

for user in res['users']]
return res

def duje_cc(self, user_id, rank_token, **kwargs):
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

b

"""
Get user followings
:param user_id:
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

b

"""
raise_if_invalid_rank_token(rank_token)

endpoint = 'friendships/{user_id!s}/following/'.format(**{'user_id': user_id})
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

b

endpoint = 'friendships/{duje_cc}/following/'.format(**{'user_id': user_id})
query_params = {
'rank_token': rank_token,
}
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

b

for u in res.get('users', [])]
return res

def duje_cc(self, user_id, rank_token, **kwargs):
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

b

"""
Get user followers
:param duje_cc:
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

b

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant