rudra/data_store/bigquery/pypi_bigquery.py
def handle_response(self):
        """Process and get the response of async requests."""
        results = list()
        for resp in self.responses:
            pkg_name, req_obj = resp
            if isinstance(req_obj, int):
                if req_obj == 200:
                    results.append(pkg_name)
            elif req_obj.status_code == 200:
                results.append(pkg_name)
                logger.info("Received status:{} for pkg:{}".format(req_obj.status_code, pkg_name))
            else:
                logger.info("Received status:{} for pkg:{}".format(req_obj.status_code, pkg_name))
        return results
Process and get the response of async requests.
Process and get the response of async requests.
Process and get the response of async requests .
def handle_response(self):
        results = list()
        for resp in self.responses:
            pkg_name, req_obj = resp
            if isinstance(req_obj, int):
                if req_obj == 200:
                    results.append(pkg_name)
            elif req_obj.status_code == 200:
                results.append(pkg_name)
                logger.info("Received status:{} for pkg:{}".format(req_obj.status_code, pkg_name))
            else:
                logger.info("Received status:{} for pkg:{}".format(req_obj.status_code, pkg_name))
        return results
def handle_response ( self ) : results = list ( ) for resp in self . responses : pkg_name , req_obj = resp if isinstance ( req_obj , int ) : if req_obj == 200 : results . append ( pkg_name ) elif req_obj . status_code == 200 : results . append ( pkg_name ) logger . info ( "Received status:{} for pkg:{}" . format ( req_obj . status_code , pkg_name ) ) else : logger . info ( "Received status:{} for pkg:{}" . format ( req_obj . status_code , pkg_name ) ) return results
Process and get the response of async requests.
Process and get the response of async requests .
"""Process and get the response of async requests."""
self