Redaction

PGX redaction and related classes.

class pypgx.api.redaction.PgxRedactionRuleConfig(java_redaction_rule_config)

Bases: object

A class representing redaction rule configurations.

property is_empty: bool

Getter for is_empty property.

Returns

if the ruleset is empty.

Return type

bool

property label: str

Getter for label property.

Returns

Label string

Return type

str

property properties: List[str]

Getter for properties.

Returns

list of properties

Return type

List[str]

property redact_edge: str

Getter for redact_edge property.

Returns

redact_edge string

Return type

str

property rule_name: str

Getter for rule_name property.

Returns

rule_name string

Return type

str

property rule_trigger: str

Getter for rule_trigger property.

Returns

rule_trigger string

Return type

str

property with_visible_properties: List[str]

Getter for visible properties.

Returns

Returns the list of visible properties

Return type

List[str]