decentriq_platform.media.computations
Classes
Computation
Computation(
dcr_id: str,
client: Client,
session: Session,
)
Abstract class representing a computation.
Ancestors (in MRO)
- abc.ABC Descendants
- decentriq_platform.media.advertiser_computations.AvailableAudiencesComputation
- decentriq_platform.media.advertiser_computations.GetAudienceUserListForAdvertiserComputation
- decentriq_platform.media.advertiser_computations.GetAudiencesForAdvertiserComputation
- decentriq_platform.media.publisher_computations.GetAudienceUserListComputation
- decentriq_platform.media.publisher_computations.GetAudiencesForPublisherComputation
- decentriq_platform.media.publisher_computations.OverlapInsightsComputation
- decentriq_platform.media.publisher_computations.OverlapStatisticsComputation
get_results
def get_results(
self,
interval: int = 5,
timeout: Optional[int] = None,
) ‑> bytes
get_results_str_from_zip
def get_results_str_from_zip(
self,
file_name: str,
interval: int = 5,
timeout: Optional[int] = None,
) ‑> str
node_id
def node_id(
self,
) ‑> str
run
def run(
self,
request_type: str,
) ‑> None
Run the computation
run_and_get_results
def run_and_get_results(
self,
interval: int = 5,
timeout: Optional[int] = None,
) ‑> bytes
send_request
def send_request(
self,
request: MediaInsightsRequest,
) ‑> decentriq_dcr_compiler._schemas.media_insights_response.MediaInsightsResponse