Skip to content

Commit

Permalink
fix unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxHalford committed Nov 17, 2023
1 parent f115697 commit 12714d5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lea/app/docs.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,9 @@ def docs(

# List all the columns
columns = client.get_columns()
# HACK
columns["view_name"] = f"{client.dataset_name}." + columns["view_name"]
# HACK: we should have a cleaner way to handle schemas/views irrespective of the client
if hasattr(client, "dataset_name"):
columns["view_name"] = f"{client.dataset_name}." + columns["view_name"]

# Now we can generate the docs for each schema and view therein
readme_content = io.StringIO()
Expand Down

0 comments on commit 12714d5

Please sign in to comment.