def render(self, base_url):
    actor = self.user.profile
    actor.update({'@context': context, 'preferredUsername': self.user.name, 'id': self.user.uri, 'following': self.user.following, 'followers': self.user.followers, 'inbox': self.user.inbox, 'outbox': self.user.outbox, 'liked': self.user.liked, 'url': self.user.uri, 'manuallyApprovesFollowers': False, 'publicKey': self.user.key.to_dict(), 'endpoints': {'oauthTokenEndpoint': f'{base_url}/token'}})
    return actor
def render(self, base_url):
    actor = self.user.profile
    actor.update({'@context': context, 'preferredUsername': self.user.name, 'id': self.user.uri, 'following': self.user.following, 'followers': self.user.followers, 'inbox': self.user.inbox, 'outbox': self.user.outbox, 'liked': self.user.liked, 'url': self.user.uri, 'manuallyApprovesFollowers': False, 'publicKey': self.user.key.to_dict(), 'endpoints': {'oauthTokenEndpoint': f'{base_url}/token'}})
    return actor