core.obfuscation

source

Provides methods for obfuscation of results to protect personally identifiable information.

get_results_modifiers

get_results_modifiers(activity_source_id: int) -> list:

get_results_modifiers_from_str

get_results_modifiers_from_str(params: str) -> list:

low_number_suppression

low_number_suppression(
    value: Union[int, float], threshold: int = 10
) -> Union[int, float]:

rounding

rounding(value: Union[int, float], nearest: int = 10) -> int:

apply_filters

apply_filters(value: Union[int, float], filters: list) -> Union[int, float]:

apply_filters_v2

apply_filters_v2(value: Union[int, float], filters: list) -> Union[int, float]:

Relationships

imported by execute_query