When using @property declarations, the type system would not realize that in the implementation, soma_type could always be accessed as a class variable. This change just makes soma_type a class var and shuffles around some annotations to make that easier. The is_sparse field on NDArray is similarly updated.
When using
@property
declarations, the type system would not realize that in the implementation,soma_type
could always be accessed as a class variable. This change just makessoma_type
a class var and shuffles around some annotations to make that easier. Theis_sparse
field onNDArray
is similarly updated.This idea came to me in the shower.