PolicySpec

class PolicySpec

Contains all policy parameters, if any.

__init__(*, retention_probability: float = 0.5) None[source]

Construct the policy spec.

Parameters

retention_probabilityfloat

The proability with which strata are retained permanently.

Methods

static GetAlgoIdentifier() str[source]

Get programatic name for underlying retention algorithm.

static GetAlgoTitle() str[source]

Get human-readable name for underlying retention algorithm.

GetEvalCtor() str[source]
GetRetentionProbability() int[source]
__init__(*, retention_probability: float = 0.5) None[source]

Construct the policy spec.

Parameters

retention_probabilityfloat

The proability with which strata are retained permanently.

__repr__() str[source]

Return repr(self).

__str__() str[source]

Return str(self).