File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -136,6 +136,11 @@ def _base_kwargs(self) -> dict:
136136 'client_registry' : self ._client_registry ,
137137 }
138138
139+ @property
140+ def token (self ) -> str | None :
141+ """The Apify API token used by the client."""
142+ return self ._config .token
143+
139144 def actor (self , actor_id : str ) -> ActorClient :
140145 """Retrieve the sub-client for manipulating a single Actor.
141146
@@ -350,6 +355,11 @@ def _base_kwargs(self) -> dict:
350355 'client_registry' : self ._client_registry ,
351356 }
352357
358+ @property
359+ def token (self ) -> str | None :
360+ """The Apify API token used by the client."""
361+ return self ._config .token
362+
353363 def actor (self , actor_id : str ) -> ActorClientAsync :
354364 """Retrieve the sub-client for manipulating a single Actor.
355365
You can’t perform that action at this time.
0 commit comments