def get_user_streams(): streams = Stream.objects(user=g.user['id']) return {'streams': map(StreamMapper.to_web_dto, streams)}, 200