mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-09-25 08:50:18 +00:00
Add a check to see if file_client is present (#17330)
This commit is contained in:
parent
62c33e026c
commit
67634f9695
@ -102,7 +102,8 @@ class PowerbiSource(DashboardServiceSource):
|
||||
|
||||
def close(self):
|
||||
self.metadata.close()
|
||||
self.client.file_client.delete_tmp_files()
|
||||
if self.client.file_client:
|
||||
self.client.file_client.delete_tmp_files()
|
||||
|
||||
def get_filtered_workspaces(self, groups: List[Group]) -> List[Group]:
|
||||
"""
|
||||
|
Loading…
x
Reference in New Issue
Block a user