MINOR: Fixes AttributeError: 'DatalakeGcsClient' object has no attribute 'project' (#17526)

This commit is contained in:
Ayush Shah 2024-08-21 17:51:35 +05:30 committed by GitHub
parent 30a3f32b0f
commit c08b83f41d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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)