Skip to content

Instantly share code, notes, and snippets.

@Zmey56
Created January 9, 2023 20:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Zmey56/ee155ce455a43561d346097248277b76 to your computer and use it in GitHub Desktop.
Save Zmey56/ee155ce455a43561d346097248277b76 to your computer and use it in GitHub Desktop.
def get_from_table_name(mertics, metrics_list):
table_name_list = []
for metric in mertics:
table_name = metrics_list[metric]['table_name']
table_name_list.append(table_name)
table_name_list = list(set(table_name_list))[0]
table_name = str(table_name_list)
return table_name
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment