@defer.inlineCallbacks<EOL><INDENT>def __call__( self, url, query=dict(),<EOL>query_filter=True, auth_header=True,<EOL>auto_refresh_token=True, upload=False, **request_kwz ):<DEDENT>
if query_filter:<EOL><INDENT>query = dict( (k,v) for k,v in<EOL>query.viewitems() if v is not None )<EOL><DEDENT>if auth_header:<EOL><INDENT>request_kwz.setdefault('<STR_LIT>', dict())['<STR_LIT>'] = '<STR_LIT>'.format(self.auth_access_token)<EOL><DEDENT>kwz = request_kwz.copy()<EOL>kwz.setdefault('<STR_LIT>', dict())[<NUM_LIT>] = AuthenticationError<EOL>api_url = ft.partial( self._api_url, url, query,<EOL>pass_access_token=not auth_header, upload=upload )<EOL>try: res = yield self.request(api_url(), **kwz)<EOL>except AuthenticationError:<EOL><INDENT>if not auto_refresh_token: raise<EOL>yield self.auth_get_token()<EOL>if auth_header: <EOL><INDENT>request_kwz['<STR_LIT>']['<STR_LIT>']= '<STR_LIT>'.format(self.auth_access_token)<EOL><DEDENT>self.request_pool.closeCachedConnections()<EOL>res = yield self.request(api_url(), **request_kwz)<EOL><DEDENT>defer.returnValue(res)<EOL>
Make an arbitrary call to LiveConnect API.
                Shouldn't be used directly under most circumstances.