12345678910111213141516171819202122232425 |
- def follow(follower=None, followee=None):
- """
- :param follower: The actor that followed
- :type follower: dict
-
- :param followee: The actor being followed
- :type followee: dict
- """
-
- return {
- 'type': 'follow',
-
- 'follower': {
- 'name': follower['name'],
- 'id': follower['id']
- },
-
- 'followee': {
- 'name': followee['name'],
- 'id': followee['id']
- },
- }
|