Skip to content

Commit 63e666d

Browse files
committed
Update upgrading guide
1 parent 38c685c commit 63e666d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docs/04-upgrading/upgrading_to_v20.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,9 @@ Attributes suffixed with `_millis` were renamed to remove said suffix and have t
1919

2020
## Actor
2121

22-
The `Actor.main` method has been removed as it brings no benefits compared to using `async with Actor`.
22+
- The `Actor.main` method has been removed as it brings no benefits compared to using `async with Actor`.
23+
- The `Actor.add_webhook`, `Actor.start`, `Actor.call` and `Actor.start_task` methods now accept instances of the `apify.Webhook` model instead of an untyped `dict`.
24+
- `Actor.start`, `Actor.call`, `Actor.start_task`, `Actor.set_status_message` and `Actor.abort` return instances of the `ActorRun` model instead of an untyped `dict`.
2325

2426
## Scrapy integration
2527

0 commit comments

Comments
 (0)