From 4325729c690996e3fbe70886f1a3be5e12a482a3 Mon Sep 17 00:00:00 2001 From: Ricardo Mendes <50331050+ricardosm-cit@users.noreply.github.com> Date: Tue, 21 May 2019 13:24:43 -0300 Subject: [PATCH] Add region tags to support Data Catalog docs (#2169) --- datacatalog/cloud-client/lookup_entry.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/datacatalog/cloud-client/lookup_entry.py b/datacatalog/cloud-client/lookup_entry.py index a186408fe560..b6c1e321f7f4 100644 --- a/datacatalog/cloud-client/lookup_entry.py +++ b/datacatalog/cloud-client/lookup_entry.py @@ -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 @@ -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):