DataBrewery / cubes

[NOT MAINTAINED] Light-weight Python OLAP framework for multi-dimensional data analysis
http://cubes.databrewery.org
Other
1.49k stars 314 forks source link

Investigate use and effects of None path values #409

Open Stiivi opened 7 years ago

Stiivi commented 7 years ago

The HierarchyPath is of type List[str] however there are places where None is used as a path value. Document in the comments below:

After the assessment decide whether to change the HierarchyPath to List[Optional[str]] or keep it as it is.

Some pointers:

There is NULL_PATH_VALUE constant that has value "__null__" which was introduced in bb7bb45fdb15f00fedb672564eb31627ab915cb7.