

def _parse_table_list_response(self, list_response):
    'Parse the response received from calling list on tables.\n\n        Parameters\n        ----------\n        list_response\n            The response found by calling list on a BigQuery table object.\n\n        Returns\n        -------\n        dict\n            Dates referenced by table names\n        '
    tables = defaultdict(dict)
    for table in list_response.get('tables', []):
        table_ref = table.get('tableReference')
        if (not table_ref):
            continue
        table_id = table_ref.get('tableId', '')
        (year_month, app_id) = self._parse_table_name(table_id)
        if (not year_month):
            continue
        table_date = datetime.strptime(year_month, '%Y-%m')
        unix_seconds = calendar.timegm(table_date.timetuple())
        tables[app_id].update({
            table_id: self,
        })
    tables.default_factory = None
    return tables

dataset/ETHPy150Open tylertreat/BigQuery-Python/bigquery/client.py BigQueryClient._parse_table_list_response/VarMisuse@126/269 `unix_seconds`->`self`