-
Notifications
You must be signed in to change notification settings - Fork 314
Fix translate cube #462
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
base: master
Are you sure you want to change the base?
Fix translate cube #462
Conversation
* The assertion can now take a type or a tuple of type in parameter. * Fix wrong displayed error message in function assert_all_instances. * Update docstring.
|
||
# We don't need to access details by name | ||
details = details or [] | ||
measures = _replace_all_dict_by_instance(measures, Attribute) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shall be details = _replace...
?
# Aggregates | ||
# | ||
aggregates = aggregates or [] | ||
measures = _replace_all_dict_by_instance(measures, MeasureAggregate) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shall be aggregates = _replace...
?
I am a bit unsure about this PR. Does it aim to restore l18n functionality? Anyway, seems there are some issues, please have a looks at comments. Thanks. |
The test
tests.test_localization.LocalizationTestCase.test_translate_cube
fails because the class Cube is now of immutable.