def get_collaborations_as_json(self):
    from app.modules.collaborations.schemas import DetailedCollaborationSchema
    json_resp = []
    for collab_assoc in self.user_collaboration_associations:
        json_resp.append(DetailedCollaborationSchema().dump(collab_assoc.collaboration).data)
    return json_resp
def get_collaborations_as_json(self):
    from app.modules.collaborations.schemas import DetailedCollaborationSchema
    json_resp = []
    for collab_assoc in self.user_collaboration_associations:
        json_resp.append(DetailedCollaborationSchema().dump(collab_assoc.collaboration).data)
    return json_resp