Skip to main content

decentriq_platform.ab_media.helper

Functions

audience_depends_on_lookalike

def audience_depends_on_lookalike(
audience_name: str,
audiences_json: Dict[str, Any],
)> bool

current_iso_standard_utc_time

def current_iso_standard_utc_time(
)> str

flatten_mutable_fields

def flatten_mutable_fields(
definition: Dict[str, Any],
)> Dict[str, Any]

Flatten the mutable field so that all mutable variables are included in the parent level of the dictionary.

generate_id

def generate_id(
)> str

get_dependencies

def get_dependencies(
target_audience_id: str,
audiences: list[typing.Any],
)> list[str]

get_parameter_payloads

def get_parameter_payloads(
audience_name: str,
audiences_json: Dict[str, Any],
)> decentriq_dcr_compiler._schemas.get_parameter_payloads.ParameterPayloads