(self, data)
Top and bottom pinned rows generator.

        Arguments:
            data: Iterable data for all records for top or bottom pinned rows.

        Yields:
            BoundPinnedRow: Top or bottom `BoundPinnedRow` object for single pinned record.
Top and bottom pinned rows generator.
Top and bottom pinned rows generator .
def generator_pinned_row(self, data):
        """
        Top and bottom pinned rows generator.

        Arguments:
            data: Iterable data for all records for top or bottom pinned rows.

        Yields:
            BoundPinnedRow: Top or bottom `BoundPinnedRow` object for single pinned record.
        """
        if data is not None:
            if hasattr(data, "__iter__") is False:
                raise ValueError("The data for pinned rows must be iterable")

            for pinned_record in data:
                yield BoundPinnedRow(pinned_record, table=self.table)
def generator_pinned_row ( self , data ) : if data is not None : if hasattr ( data , "__iter__" ) is False : raise ValueError ( "The data for pinned rows must be iterable" ) for pinned_record in data : yield BoundPinnedRow ( pinned_record , table = self . table )