def __find_group_id(self):
group_subscriptions = self.subscriptions(self.auth)<EOL>for subscriptions in group_subscriptions:<EOL><INDENT>for sub in subscriptions:<EOL><INDENT>if sub['<STR_LIT>'] == self.group_name:<EOL><INDENT>return sub['<STR_LIT>']<EOL><DEDENT><DEDENT><DEDENT>msg = "<STR_LIT>" % self.group_name<EOL>raise BackendError(cause=msg)<EOL>
Find the id of a group given its name by iterating on the list of subscriptions