Skip to content

Commit

Permalink
fix: update_column_spec typo in TablesClient docstring (#18)
Browse files Browse the repository at this point in the history
The docstring contains the non-existent function `update_column_specs`, and fixed it to` update_column_spec` which I think is more appropriate.

The code cause AttributeError: 'TablesClient' object has no attribute 'update_column_specs'.

Fixes #17 🦕
  • Loading branch information
na0fu3y authored Sep 9, 2020
1 parent c829cc3 commit 3d3ce51
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1205,7 +1205,7 @@ def update_column_spec(
... credentials=service_account.Credentials.from_service_account_file('~/.gcp/account.json'),
... project='my-project', region='us-central1')
...
>>> client.update_column_specs(dataset_display_name='my_dataset',
>>> client.update_column_spec(dataset_display_name='my_dataset',
... column_spec_display_name='Outcome', type_code='CATEGORY')
...
Expand Down

0 comments on commit 3d3ce51

Please sign in to comment.