(self, session)
| 269 | } |
| 270 | |
| 271 | def serialize_public(self, session): |
| 272 | # Careful, **PUBLIC** info |
| 273 | project_list = [] |
| 274 | for project in self.projects: |
| 275 | if project.is_public is True: |
| 276 | project_list.append(project.serialize_public(session)) |
| 277 | |
| 278 | user = { |
| 279 | 'first_name': self.first_name, |
| 280 | 'last_name': self.last_name, |
| 281 | 'profile_image_url': self.profile_image_url, |
| 282 | 'project_list': project_list |
| 283 | } |
| 284 | return user |
| 285 | |
| 286 | def build_followers_list(self): |
| 287 | user_list = [] |
no outgoing calls
no test coverage detected