Skip to content

Conversation

@tducret
Copy link

@tducret tducret commented Nov 14, 2025

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).


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.

Written by Cursor Bugbot for commit b3f5d0d. Configure here.

@tducret tducret requested a review from TC-MO as a code owner November 14, 2025 09:19
@tducret tducret changed the title Fix Python Actor configuration property naming docs: Fix Python Actor configuration property naming Nov 14, 2025
@souravjain540
Copy link
Contributor

cc @TC-MO can you pls look at this when you have time, thank you! :)

@honzajavorek
Copy link
Collaborator

One note: Would it be worth noting somewhere in the document that this has recently change and it's version dependent?

@tducret
Copy link
Author

tducret commented Nov 21, 2025

One note: Would it be worth noting somewhere in the document that this has recently change and it's version dependent?

Yes, but this is probably beyond the scope of this PR. A good example is readthedoc, which usually provides the documentation per a given app version. Not sure how you want to address that with your documentation stack.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants