Commit 39ceec0
authored
docs: Fix Python Actor configuration property naming (#2091)
Updates Python code examples to use the correct `Actor.configuration`
property instead of `Actor.config` that got
removed in the Python SDK v3 (see
https://docs.apify.com/sdk/python/docs/upgrading/upgrading-to-v3#removed-actorconfig-property).
<!-- CURSOR_SUMMARY -->
---
> [!NOTE]
> Updates Python code samples to use Actor.configuration
(web_server_port, standby_port, meta_origin, token) instead of removed
Actor.config across Standby and environment variables docs.
>
> - **Docs (Python examples)**:
> - **Standby mode
(`sources/platform/actors/development/programming_interface/actor_standby.md`)**:
> - Use `Actor.configuration.web_server_port` and
`Actor.configuration.standby_port` in HTTP server examples.
> - Check `Actor.configuration.meta_origin` for Standby mode detection.
> - **Environment variables
(`sources/platform/actors/development/programming_interface/environment_variables.md`)**:
> - Access and set token via `Actor.configuration.token` instead of
`Actor.config.token`.
>
> <sup>Written by [Cursor
Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit
b3f5d0d. Configure
[here](https://cursor.com/dashboard?tab=bugbot).</sup>
<!-- /CURSOR_SUMMARY -->1 parent 6d0e6cb commit 39ceec0
File tree
2 files changed
+6
-6
lines changed- sources/platform/actors/development/programming_interface
2 files changed
+6
-6
lines changedLines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
65 | | - | |
| 65 | + | |
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
| |||
131 | 131 | | |
132 | 132 | | |
133 | 133 | | |
134 | | - | |
| 134 | + | |
135 | 135 | | |
136 | 136 | | |
137 | 137 | | |
| |||
167 | 167 | | |
168 | 168 | | |
169 | 169 | | |
170 | | - | |
| 170 | + | |
171 | 171 | | |
172 | 172 | | |
173 | 173 | | |
| |||
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
198 | 198 | | |
199 | 199 | | |
200 | 200 | | |
201 | | - | |
| 201 | + | |
202 | 202 | | |
203 | 203 | | |
204 | 204 | | |
205 | | - | |
| 205 | + | |
206 | 206 | | |
207 | | - | |
| 207 | + | |
208 | 208 | | |
209 | 209 | | |
210 | 210 | | |
| |||
0 commit comments