Skip to content
This repository has been archived by the owner on Dec 31, 2023. It is now read-only.

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 committed Sep 9, 2020
1 parent d225a5f commit 9feb4cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion google/cloud/automl_v1beta1/tables/tables_client.py
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 9feb4cc

Please sign in to comment.