Skip to content
This repository has been archived by the owner on Jun 5, 2023. It is now read-only.

Commit

Permalink
Update load_groups_pipeline.py (#210)
Browse files Browse the repository at this point in the history
  • Loading branch information
mirons-google authored and carise committed Apr 12, 2017
1 parent 93eb360 commit 9a425ba
Showing 1 changed file with 4 additions and 4 deletions.
Expand Up @@ -55,10 +55,10 @@ def _transform(self, groups_map):
An iterable of loadable groups as a per-group dictionary.
"""
for group in groups_map:
yield {'group_id': group['id'],
'group_email': group['email'],
'group_kind': group['kind'],
'direct_member_count': group['directMembersCount'],
yield {'group_id': group.get('id'),
'group_email': group.get('email'),
'group_kind': group.get('kind'),
'direct_member_count': group.get('directMembersCount'),
'raw_group': json.dumps(group)}

def _retrieve(self):
Expand Down

0 comments on commit 9a425ba

Please sign in to comment.