Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

made fixes for translations, added support for levels, improved print… #30

Merged
merged 10 commits into from
Jul 14, 2024

Conversation

m-kovalsky
Copy link
Collaborator

…outs

src/sempy_labs/_translations.py Outdated Show resolved Hide resolved
src/sempy_labs/_translations.py Outdated Show resolved Hide resolved
src/sempy_labs/_translations.py Outdated Show resolved Hide resolved
@@ -1848,7 +1895,7 @@ def hybrid_tables(self):
if any(p.Mode == TOM.ModeType.DirectQuery for p in t.Partitions):
yield t

def date_tables(self):
def all_date_tables(self):
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if you rename methods (which breaks the API) you need to increase the major version

@@ -121,9 +122,11 @@ def refresh_calc_tables(dataset: str, workspace: Optional[str] = None):
f"{icons.green_dot} Calculated table '{tName}' has been refreshed as the '{delta_table_name.lower()}' table in the lakehouse."
)
except Exception as e:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

for a separate PR, we should do a round of exception reviewing. I think there's still a bunch of cases, where you can check on a condition before hand and avoid just catching the exception

@m-kovalsky m-kovalsky merged commit ee72ed5 into main Jul 14, 2024
5 checks passed
@m-kovalsky m-kovalsky deleted the m-kovalsky/translatesemmodel branch July 14, 2024 06:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants