MCPcopy
hub / github.com/diffgram/diffgram / serialize_for_activity

Method serialize_for_activity

shared/database/user.py:224–235  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

222 }
223
224 def serialize_for_activity(self):
225 # Careful, this may be accessed by other users (ie on same project)
226
227 user = {
228 'id': self.id,
229 'first_name': self.first_name,
230 'id': self.id,
231 'last_name': self.last_name,
232 'profile_image_thumb_url': self.get_profile_image_thumb_url(),
233 'username': self.username
234 }
235 return user
236
237 def serialize_with_permission(self, project_string_id):
238

Callers 4

build_followers_listMethod · 0.45
build_following_listMethod · 0.45
serializeMethod · 0.45

Calls 1

Tested by

no test coverage detected