1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "packages": [
10 {
11 "ecosystem": "PyPI",
12 "name": "requests",
13 "pinnedVersion": "2.30.0",
14 "targetVersion": "2.32.0",
15 },
16 {
17 "ecosystem": "npm",
18 "name": "express",
19 "pinnedVersion": "4.18.0",
20 "targetVersion": "5.0.0",
21 },
22 ],
23 "maxConcurrency": 5,
24}
25
26
27run = client.actor("kingii98/pinned-dependency-upgrade-range-breaking-change-brief").call(run_input=run_input)
28
29
30print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
31for item in client.dataset(run.default_dataset_id).iterate_items():
32 print(item)
33
34