def get_roles_in_account(self, account_id, params={}):
url = ACCOUNTS_API.format(account_id) + "<STR_LIT>"<EOL>roles = []<EOL>for datum in self._get_resource(url, params=params):<EOL><INDENT>roles.append(CanvasRole(data=datum))<EOL><DEDENT>return roles<EOL>
List the roles for an account, for the passed Canvas account ID.

https://canvas.instructure.com/doc/api/roles.html#method.role_overrides.api_index