Skip to content

Commit

Permalink
Merge 1c255b6 into 274f46c
Browse files Browse the repository at this point in the history
  • Loading branch information
scanny committed Jun 5, 2019
2 parents 274f46c + 1c255b6 commit ed635c4
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/cr/cube/cubepart.py
Original file line number Diff line number Diff line change
Expand Up @@ -714,6 +714,15 @@ class _Nub(object):
def __init__(self, cube):
self._cube = cube

@lazyproperty
def dimension_types(self):
"""Sequence of `cr.cube.enum.DIMENSION_TYPE` member for each dimension.
Length zero in this case.
"""
# TODO: remove need for this in exporter
return ()

@lazyproperty
def means(self):
return self._scalar.means
Expand Down
5 changes: 5 additions & 0 deletions src/cr/cube/stripe.py
Original file line number Diff line number Diff line change
Expand Up @@ -297,6 +297,11 @@ def base_value(self):
def count(self):
return sum(row.count for row in self._addend_rows)

@lazyproperty
def fill(self):
"""An insertion row can have no element-fill-color transform."""
return None

@lazyproperty
def hidden(self):
"""True if subtotal is pruned. Unconditionally False for stripe subtotal row."""
Expand Down

0 comments on commit ed635c4

Please sign in to comment.