From 31603f236b43c6ca3efcc6235975ec70517a1bb8 Mon Sep 17 00:00:00 2001 From: chrhenry <123031187+chrhenry@users.noreply.github.com> Date: Fri, 17 May 2024 17:43:31 -0500 Subject: [PATCH] Update catalog.py File /databricks/python/lib/python3.10/site-packages/databricks/sdk/service/catalog.py:2117, in UpdatePermissions.as_dict(self) 2116 if self.full_name: body['full_name'] = self.full_name -> 2117 if self.securable_type: body['securable_type'] = self.securable_type.value 2118 return body AttributeError: 'str' object has no attribute 'value' Signed-off-by: chrhenry <123031187+chrhenry@users.noreply.github.com> --- databricks/sdk/service/catalog.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/databricks/sdk/service/catalog.py b/databricks/sdk/service/catalog.py index 7f95caab7..8333df5cb 100755 --- a/databricks/sdk/service/catalog.py +++ b/databricks/sdk/service/catalog.py @@ -5160,7 +5160,7 @@ def as_dict(self) -> dict: body = {} if self.changes: body['changes'] = [v.as_dict() for v in self.changes] if self.full_name is not None: body['full_name'] = self.full_name - if self.securable_type is not None: body['securable_type'] = self.securable_type.value + if self.securable_type is not None: body['securable_type'] = self.securable_type return body @classmethod