def get_default_scopes(self, client_id, request, *args, **kwargs):
request.client = request.client or self._clientgetter(client_id)<EOL>scopes = request.client.default_scopes<EOL>log.debug('<STR_LIT>', scopes)<EOL>return scopes<EOL>
Default scopes for the given client.