Skip to main content

decentriq_platform.ab_media.publisher_computations

Classes

ComputeInsightsComputation

ComputeInsightsComputation(
dcr_id: str,
client: Client,
session: Session,
)

Abstract class representing a computation.

Ancestors (in MRO)

  • decentriq_platform.ab_media.computations.Computation
  • abc.ABC

get_results

def get_results(
self,
interval: int = 5,
timeout: Optional[int] = None,
)> Dict[str, Any]

node_id

def node_id(
self,
)> str

run

def run(
self,
)> None

Run the computation.

EstimateAudienceSizeForPublisherComputation

EstimateAudienceSizeForPublisherComputation(
dcr_id: str,
client: Client,
session: Session,
generate_audience: RequestedAudiencePayload,
)

Abstract class representing a computation.

Ancestors (in MRO)

  • decentriq_platform.ab_media.computations.Computation
  • abc.ABC

get_results

def get_results(
self,
interval: int = 5,
timeout: Optional[int] = None,
)> Dict[str, Any]

node_id

def node_id(
self,
)> str

run

def run(
self,
)> None

Run the computation.

EstimateAudienceSizeForPublisherLalComputation

EstimateAudienceSizeForPublisherLalComputation(
dcr_id: str,
client: Client,
session: Session,
generate_audience: RequestedAudiencePayload,
lal_audience: RequestedAudiencePayload,
)

Abstract class representing a computation.

Ancestors (in MRO)

  • decentriq_platform.ab_media.computations.Computation
  • abc.ABC

get_results

def get_results(
self,
interval: int = 5,
timeout: Optional[int] = None,
)> Dict[str, Any]

node_id

def node_id(
self,
)> str

run

def run(
self,
)> None

Run the computation.

GetAudienceUserListForPublisherComputation

GetAudienceUserListForPublisherComputation(
dcr_id: str,
client: Client,
session: Session,
generate_audience: RequestedAudiencePayload,
)

Abstract class representing a computation.

Ancestors (in MRO)

  • decentriq_platform.ab_media.computations.Computation
  • abc.ABC

get_results

def get_results(
self,
interval: int = 5,
timeout: Optional[int] = None,
)> List[str]

node_id

def node_id(
self,
)> str

run

def run(
self,
)> None

Run the computation.

GetAudienceUserListForPublisherLalComputation

GetAudienceUserListForPublisherLalComputation(
dcr_id: str,
client: Client,
session: Session,
generate_audience: RequestedAudiencePayload,
lal_audience: RequestedAudiencePayload,
)

Abstract class representing a computation.

Ancestors (in MRO)

  • decentriq_platform.ab_media.computations.Computation
  • abc.ABC

get_results

def get_results(
self,
interval: int = 5,
timeout: Optional[int] = None,
)> List[str]

node_id

def node_id(
self,
)> str

run

def run(
self,
)> None

Run the computation.

GetAudiencesForPublisherComputation

GetAudiencesForPublisherComputation(
dcr_id: str,
client: Client,
session: Session,
)

Abstract class representing a computation.

Ancestors (in MRO)

  • decentriq_platform.ab_media.computations.Computation
  • abc.ABC

get_results

def get_results(
self,
interval: int = 5,
timeout: Optional[int] = None,
)> Dict[str, Any]

node_id

def node_id(
self,
)> str

run

def run(
self,
)> None

Run the computation.

GetDemographicsValidationReport

GetDemographicsValidationReport(
dcr_id: str,
client: Client,
session: Session,
)

Abstract class representing a computation.

Ancestors (in MRO)

  • decentriq_platform.ab_media.computations.Computation
  • abc.ABC

node_id

def node_id(
self,
)> str

run

def run(
self,
)> None

Run the computation

run_and_get_results

def run_and_get_results(
self,
interval: int = 5,
timeout: Optional[int] = None,
)> Optional[dict[str, typing.Any]]

GetMatchingValidationReport

GetMatchingValidationReport(
dcr_id: str,
client: Client,
session: Session,
)

Abstract class representing a computation.

Ancestors (in MRO)

  • decentriq_platform.ab_media.computations.Computation
  • abc.ABC

node_id

def node_id(
self,
)> str

run

def run(
self,
)> None

Run the computation

run_and_get_results

def run_and_get_results(
self,
interval: int = 5,
timeout: Optional[int] = None,
)> Optional[dict[str, typing.Any]]

GetSegmentsValidationReport

GetSegmentsValidationReport(
dcr_id: str,
client: Client,
session: Session,
)

Abstract class representing a computation.

Ancestors (in MRO)

  • decentriq_platform.ab_media.computations.Computation
  • abc.ABC

node_id

def node_id(
self,
)> str

run

def run(
self,
)> None

Run the computation

run_and_get_results

def run_and_get_results(
self,
interval: int = 5,
timeout: Optional[int] = None,
)> Optional[dict[str, typing.Any]]