-
Notifications
You must be signed in to change notification settings - Fork 1
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
remove deepcopy from cube response #394
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #394 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 20 20
Lines 4619 4620 +1
=========================================
+ Hits 4619 4620 +1 ☔ View full report in Codecov by Sentry. |
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.
Great simplification in removing the deepcopy
, I have a small question for _Measures
@@ -602,7 +597,7 @@ def _measures(self) -> "_Measures": | |||
Provides access to count based measures and numeric measures (e.g. mean, sum) | |||
when available. | |||
""" | |||
return _Measures(self._cube_dict, self._all_dimensions, self._cube_idx_arg) | |||
return _Measures(self._cube_response, self._all_dimensions, self._cube_idx_arg) |
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.
Here we build _Measures
without the "dimension inflation". Do we still need it ?
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.
actually self._all_dimensions has the inflation, having the inflation in the cube_response is not needed
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.
ok nice 👍
No description provided.