human
Solve the following python programming problem given the following code:
def _cookies_for_request(self, request) : 
    session_cookies = CookieJar._cookies_for_request (request, request) 
    def get_cookies(cur) : 
        query = cur.execute ('SELECT host from moz_cookies') 
        domains = [row [0] for row in query.fetchmany ()] 
        cookies = [] 
        for domain in domains : 
            cookies += self._persistent_cookies_for_domain (domain, request, cur) 
return cookies 
persistent_coookies = self._transaction (get_cookies) 
    return (session_cookies + persistent_coookies) 

    
    

    Fix the buggy line: session_cookies = CookieJar._cookies_for_request (request, request)
assistant
#Here is Python code to fix the buggy line: session_cookies = CookieJar.

session_cookies = CookieJar._cookies_for_request (self, request)