Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add region tags to support Data Catalog docs #2169

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions datacatalog/cloud-client/lookup_entry.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@


def lookup_bigquery_dataset(project_id, dataset_id):
# [START datacatalog_lookup_dataset]
"""Retrieves Data Catalog entry for the given BigQuery Dataset."""
from google.cloud import datacatalog_v1beta1

Expand All @@ -34,6 +35,7 @@ def lookup_bigquery_dataset(project_id, dataset_id):
.format(project_id, dataset_id)

return datacatalog.lookup_entry(linked_resource=resource_name)
# [END datacatalog_lookup_dataset]


def lookup_bigquery_dataset_sql_resource(project_id, dataset_id):
Expand Down