pydrepr/drepr/outputs/array_backend/array_class.py
def iter_records(self):
        """
        Iterate through all records of this class
        """
        if isinstance(self.pk_attr, ArrayAttr):
            if self.pk_attr.nodata is not None:
                for index in np.ndindex(*self.pk_attr.values_shp):
                    if self.uri_attr.get_sval(index) is None:
                        continue
                    yield ArrayRecord(index, self)
            else:
                for index in np.ndindex(*self.pk_attr.values_shp):
                    yield ArrayRecord(index, self)
        else:
            yield ArrayRecord((), self)

        Iterate through all records of this class
        
Iterate through all records of this class
Iterate through all records of this class
def iter_records(self):
        if isinstance(self.pk_attr, ArrayAttr):
            if self.pk_attr.nodata is not None:
                for index in np.ndindex(*self.pk_attr.values_shp):
                    if self.uri_attr.get_sval(index) is None:
                        continue
                    yield ArrayRecord(index, self)
            else:
                for index in np.ndindex(*self.pk_attr.values_shp):
                    yield ArrayRecord(index, self)
        else:
            yield ArrayRecord((), self)
def iter_records ( self ) : if isinstance ( self . pk_attr , ArrayAttr ) : if self . pk_attr . nodata is not None : for index in np . ndindex ( * self . pk_attr . values_shp ) : if self . uri_attr . get_sval ( index ) is None : continue yield ArrayRecord ( index , self ) else : for index in np . ndindex ( * self . pk_attr . values_shp ) : yield ArrayRecord ( index , self ) else : yield ArrayRecord ( ( ) , self )
Iterate through all records of this class
Iterate through all records of this class
"""
        Iterate through all records of this class
        """
self