Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: googleapis/python-bigquery
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: googleapis/python-bigquery
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: dataset-view-parameter
Choose a head ref
  • 1 commit
  • 4 files changed
  • 1 contributor

Commits on May 21, 2025

  1. feat: Add dataset_view parameter to get_dataset method

    This change introduces an optional `dataset_view` parameter to the
    `get_dataset` method in the BigQuery client. This parameter allows
    you to specify which parts of the dataset resource should be returned
    by the API, potentially optimizing the response size and content.
    
    The `dataset_view` parameter accepts a `DatasetView` enum, which has
    been added to `google.cloud.bigquery.enums` with the following values:
    - DATASET_VIEW_UNSPECIFIED
    - METADATA
    - ACL
    - FULL
    
    I've added unit and system tests to verify the functionality,
    including handling of valid enum values, None, and invalid inputs.
    The docstrings for `get_dataset` have also been updated.
    google-labs-jules[bot] committed May 21, 2025
    Configuration menu
    Copy the full SHA
    15f51ff View commit details
    Browse the repository at this point in the history
Loading