def groups_to_principals(groups):
    return [group_to_principal(g) for g in groups]
Convert a list of groups to a list of principals
dataset/ETHPy150Open mathcamp/pypicloud/pypicloud/access/base.py/groups_to_principals