mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-11-01 11:09:14 +00:00
Fix metadata usage listing of tables (#620)
This commit is contained in:
parent
8f5c5021d7
commit
7e16e39ca0
@ -50,8 +50,8 @@ class MetadataUsageBulkSink(BulkSink):
|
||||
self.today = datetime.today().strftime('%Y-%m-%d')
|
||||
|
||||
def __map_tables(self):
|
||||
tables = self.client.list_tables('columns')
|
||||
for table in tables:
|
||||
table_entities = self.client.list_tables('columns')
|
||||
for table in table_entities.tables:
|
||||
if table.name.__root__ not in self.tables_dict.keys():
|
||||
self.tables_dict[table.name.__root__] = table
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user