def reader(self, test_bigquery_client=None): return bigquery_tools.BigQueryReader( source=self, test_bigquery_client=test_bigquery_client, use_legacy_sql=self.use_legacy_sql, flatten_results=self.flatten_results, kms_key=self.kms_key)
def BigQueryReader(*args, **kwargs): return bigquery_tools.BigQueryReader(*args, **kwargs)
def BigQueryReader(*args, **kwargs): import warnings warnings.warn("This class is deprecated and will be permanently moved " "to the bigquery_tools module in a future version of beam") return bigquery_tools.BigQueryReader(*args, **kwargs)