Skip to content

Commit 17c3bbe

Browse files
authored
chore: Add deprecation notice to actor standby port variable (#286)
This does nothing on runtime, it's just housekeeping.
1 parent 4891d93 commit 17c3bbe

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/apify/_configuration.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
from typing import Annotated
66

77
from pydantic import AliasChoices, BeforeValidator, Field
8+
from typing_extensions import deprecated
89

910
from crawlee._utils.models import timedelta_ms
1011
from crawlee.configuration import Configuration as CrawleeConfiguration
@@ -160,15 +161,16 @@ class Configuration(CrawleeConfiguration):
160161
str | None,
161162
Field(
162163
alias='apify_sdk_latest_version',
163-
deprecated=True,
164164
description='Specifies the most recent release version of the Apify SDK for Javascript. Used for '
165165
'checking for updates.',
166166
),
167+
deprecated('SDK version checking is not supported for the Python SDK'),
167168
] = None
168169

169170
log_format: Annotated[
170171
str | None,
171-
Field(alias='apify_log_format', deprecated=True),
172+
Field(alias='apify_log_format'),
173+
deprecated('Adjust the log format in code instead'),
172174
] = None
173175

174176
max_paid_dataset_items: Annotated[
@@ -256,6 +258,7 @@ class Configuration(CrawleeConfiguration):
256258
alias='actor_standby_port',
257259
description='TCP port for the Actor to start an HTTP server to receive messages in the Actor Standby mode',
258260
),
261+
deprecated('Use `web_server_port` instead'),
259262
] = 4322
260263

261264
token: Annotated[

0 commit comments

Comments
 (0)