From c08b83f41dc0ee544295494177b15aff79348436 Mon Sep 17 00:00:00 2001 From: Ayush Shah Date: Wed, 21 Aug 2024 17:51:35 +0530 Subject: [PATCH] MINOR: Fixes AttributeError: 'DatalakeGcsClient' object has no attribute 'project' (#17526) --- .../ingestion/source/database/datalake/clients/gcs.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ingestion/src/metadata/ingestion/source/database/datalake/clients/gcs.py b/ingestion/src/metadata/ingestion/source/database/datalake/clients/gcs.py index 0e19264ec6b..be717dbfdc3 100644 --- a/ingestion/src/metadata/ingestion/source/database/datalake/clients/gcs.py +++ b/ingestion/src/metadata/ingestion/source/database/datalake/clients/gcs.py @@ -38,6 +38,10 @@ class DatalakeGcsClient(DatalakeBaseClient): self._client = client self._temp_credentials_file_path_list = temp_credentials_file_path_list + @property + def project(self): + return self._client.project + @staticmethod def get_gcs_client(config: GCSConfig) -> storage.Client: gcs_config = deepcopy(config)