You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/02_concepts/09_running_webserver.mdx
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,9 +13,9 @@ The URL is available in the following places:
13
13
14
14
- In Apify Console, on the Actor run details page as the **Container URL** field.
15
15
- In the API as the `container_url` property of the [Run object](https://docs.apify.com/api/v2#/reference/actors/run-object/get-run).
16
-
- In the Actor as the `Actor.config.container_url` property.
16
+
- In the Actor as the `Actor.configuration.container_url` property.
17
17
18
-
The web server running inside the container must listen at the port defined by the `Actor.config.container_port` property. When running Actors locally, the port defaults to `4321`, so the web server will be accessible at `http://localhost:4321`.
18
+
The web server running inside the container must listen at the port defined by the `Actor.configuration.container_port` property. When running Actors locally, the port defaults to `4321`, so the web server will be accessible at `http://localhost:4321`.
Copy file name to clipboardExpand all lines: docs/04_upgrading/upgrading_to_v3.md
+5-1Lines changed: 5 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,11 +15,12 @@ Support for Python 3.9 has been dropped. The Apify Python SDK v3.x now requires
15
15
- Services in `Actor` can't be changed after calling `Actor.init`, entering the `async with Actor` context manager or after requesting them from the `Actor`
16
16
- Services in `Actor` can be different from services in Crawler
17
17
18
+
18
19
**Now (v3.0):**
19
20
20
21
```python
21
22
from crawlee.crawlers import BasicCrawler
22
-
from crawlee.storage_clients import MemoryStorageClient, FileSystemStorageClient
23
+
from crawlee.storage_clients import MemoryStorageClient
23
24
from crawlee.configuration import Configuration
24
25
from crawlee.events import LocalEventManager
25
26
from apify import Actor
@@ -41,6 +42,9 @@ async def main():
41
42
)
42
43
```
43
44
45
+
## Removed Actor.config property
46
+
-`Actor.config` property has been removed. Use `Actor.configuration` instead.
0 commit comments