

def _recurse_on_row(self, col_dict, nested_value):
    'Apply the schema specified by the given dict to the nested value by\n        recursing on it.\n\n        Parameters\n        ----------\n        col_dict : dict\n            The schema to apply to the nested value.\n        nested_value : A value nested in a BigQuery row.\n\n        Returns\n        -------\n        Union[dict, list]\n            ``dict`` or ``list`` of ``dict`` objects from applied schema.\n        '
    row_value = None
    if ((col_dict['mode'] == 'REPEATED') and isinstance(nested_value, list)):
        row_value = [self._transform_row(record['v'], nested_value['fields']) for record in nested_value]
    else:
        row_value = self._transform_row(nested_value, col_dict['fields'])
    return row_value

dataset/ETHPy150Open tylertreat/BigQuery-Python/bigquery/client.py BigQueryClient._recurse_on_row/VarMisuse@53/226 `col_dict`->`nested_value`