SylwaninS
Apify & Crawlee2y ago
9 replies
Sylwanin

How to setup pay per results

Hello boys and girls,

I'm thinking of switching an actor to pay per results, i didn't find any explicit exemple using the SDK, I setup the dataset unit name to my-actor-results

will this be enough using python ?

dataset_client = await Actor.open_dataset(name=‘my-actor-results')

await dataset_client.push_data(data)


Or should I also save results in default output dataset like:

await Actor.push_data(data)


What is the dataset unit name used for ? is it the name of dataset where actor output should be saved instead of default dataset of a run ?
Was this page helpful?