Skip to content

Commit 94e8cff

Browse files
committed
do not use property config in the init
1 parent 5147f70 commit 94e8cff

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/apify/_actor.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -74,18 +74,18 @@ def __init__(
7474

7575
# Create the instance of the cloud storage client, the local storage client is obtained
7676
# from the service locator.
77-
self._cloud_storage_client = ApifyStorageClient.from_config(config=self.config)
77+
self._cloud_storage_client = ApifyStorageClient.from_config(config=self._configuration)
7878

7979
# Set the event manager based on whether the Actor is running on the platform or locally.
8080
self._event_manager = (
8181
PlatformEventManager(
82-
config=self.config,
83-
persist_state_interval=self.config.persist_state_interval,
82+
config=self._configuration,
83+
persist_state_interval=self._configuration.persist_state_interval,
8484
)
8585
if self.is_at_home()
8686
else LocalEventManager(
87-
system_info_interval=self.config.system_info_interval,
88-
persist_state_interval=self.config.persist_state_interval,
87+
system_info_interval=self._configuration.system_info_interval,
88+
persist_state_interval=self._configuration.persist_state_interval,
8989
)
9090
)
9191

0 commit comments

Comments
 (0)