Open Stiivi opened 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:
HierarchyPath
List[str]
None
After the assessment decide whether to change the HierarchyPath to List[Optional[str]] or keep it as it is.
List[Optional[str]]
Some pointers:
There is NULL_PATH_VALUE constant that has value "__null__" which was introduced in bb7bb45fdb15f00fedb672564eb31627ab915cb7.
NULL_PATH_VALUE
"__null__"
The
HierarchyPath
is of typeList[str]
however there are places whereNone
is used as a path value. Document in the comments below:None
valuesNone
valueNone
valueAfter the assessment decide whether to change the
HierarchyPath
toList[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.