Hi there,
I have a fundamental misunderstanding of how to use 'GroupSelector'.
Code:
dbt = dropbox.DropboxTeam(TOKEN)
members = dbt.team_groups_members_list(g.group_id)
Error: ValidationError: expected type dropbox.team.GroupSelector or subtype, got string
Ok fine, I need a GroupSelector type - but how do I actually initialize this?
If I do something like:
gs = dropbox.team.GroupSelector(g.group_id)
Error: AssertionError: Invalid tag 'g:<group_id>'.
But that doesn't make sense anyway, because to find a group it would need to be attached to a token. Like:
gs = dbt.GroupSelector(g.group_id)
But no GroupSelector' class for DropboxTeam.
Have read the api, I understand that there is a GroupSelector class I need to use, I just don't know how to use it in practice. Cannot find any code examples anywhere which actually uses it. Can someone help me with this? Need an explanation rather than an API link, because I have read the API section and still makes no sese.
I have a clear misunderstanding here.
Cheers