Skip to content

[bigquery] snippets.py list-datasets is buggy #1772

Description

@tkivisik

In which file did you encounter the issue?

python-docs-samples/bigquery/cloud-client/snippets.py

Did you change the file? If so, how?

No

Describe the issue

python snippets.py --project 'my-project' list-datasets"

usage: bigquery_setup.py list-datasets [-h] dataset_id
bigquery_setup.py list-datasets: error: too few arguments

There was a fault in the create_dataset_parser which overrode the list_datasets_parser .

I claim to fix it

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions