AddMaxRows#

from tmlt.analytics import AddMaxRows
class tmlt.analytics.AddMaxRows(max_rows)#

Bases: ProtectedChange

Protects the addition or removal of any set of max_rows rows.

This ProtectedChange is a generalization of the standard “add/remove one row” DP guarantee, hiding the addition or removal of any set of at most max_rows rows from a table.

max_rows: int#

The maximum number of rows that may be added or removed.

__post_init__()#

Validate attributes.