Skip to content

Commit

Permalink
amend typos in get_dashboard_tables (#2222)
Browse files Browse the repository at this point in the history
* fix typos in get_dashboard_tables

Signed-off-by: sihaotan4 <[email protected]>

* bump metadata version

Signed-off-by: sihaotan4 <[email protected]>

---------

Signed-off-by: sihaotan4 <[email protected]>
  • Loading branch information
sihaotan4 authored Dec 19, 2023
1 parent 36159bd commit ae5fb6d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions metadata/metadata_service/proxy/gremlin_proxy.py
Original file line number Diff line number Diff line change
Expand Up @@ -1695,11 +1695,11 @@ def _get_dashboard_tables(self,
dashboard_tables = self.query_executor()(query=dashboard_tables_query, get=FromResultSet.toList)
tables = []
for table in dashboard_tables:
tabe_base = table.get('key').split("://")[1]
table_base = table.get('key').split("://")[1]
table_db = table.get('key').split("://")[0]
table_cluster = tabe_base.split(".")[0]
table_cluster = table_base.split(".")[0]
table_name = table.get('name')
table_schema = tabe_base.split("/")[0]
table_schema = table_base.split("/")[0]
table_desc_vertex_q = self.g.V(table[T.id]).out("DESCRIPTION")
table_desc_vertex_q = table_desc_vertex_q.filter(__.hasLabel("Description")).valueMap().by(__.unfold())
table_desc_vertex = self.query_executor()(query=table_desc_vertex_q, get=FromResultSet.toList)
Expand Down
2 changes: 1 addition & 1 deletion metadata/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

from setuptools import find_packages, setup

__version__ = '3.12.2'
__version__ = '3.12.3'

requirements_path = os.path.join(os.path.dirname(os.path.realpath(__file__)), 'requirements.txt')
with open(requirements_path) as requirements_file:
Expand Down

0 comments on commit ae5fb6d

Please sign in to comment.