Skip to content

Commit f00e831

Browse files
committed
Capitalize Actor
1 parent 8a7cbda commit f00e831

File tree

5 files changed

+25
-25
lines changed

5 files changed

+25
-25
lines changed

src/apify_client/_resource_clients/actor.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,7 @@ def start(
333333
the run uses the build specified in the default run configuration for the Actor (typically latest).
334334
max_items: Maximum number of results that will be returned by this run. If the Actor is charged
335335
per result, you will not be charged for more results than the given limit.
336-
max_total_charge_usd: A limit on the total charged amount for pay-per-event actors.
336+
max_total_charge_usd: A limit on the total charged amount for pay-per-event Actors.
337337
restart_on_error: If true, the Actor run process will be restarted whenever it exits with
338338
a non-zero status code.
339339
memory_mbytes: Memory limit for the run, in megabytes. By default, the run uses a memory limit
@@ -409,7 +409,7 @@ def call(
409409
the run uses the build specified in the default run configuration for the Actor (typically latest).
410410
max_items: Maximum number of results that will be returned by this run. If the Actor is charged
411411
per result, you will not be charged for more results than the given limit.
412-
max_total_charge_usd: A limit on the total charged amount for pay-per-event actors.
412+
max_total_charge_usd: A limit on the total charged amount for pay-per-event Actors.
413413
restart_on_error: If true, the Actor run process will be restarted whenever it exits with
414414
a non-zero status code.
415415
memory_mbytes: Memory limit for the run, in megabytes. By default, the run uses a memory limit
@@ -605,7 +605,7 @@ def validate_input(
605605
606606
Args:
607607
run_input: The input to validate.
608-
build_tag: The actor's build tag.
608+
build_tag: The Actor's build tag.
609609
content_type: The content type of the input.
610610
611611
Returns:
@@ -811,7 +811,7 @@ async def start(
811811
the run uses the build specified in the default run configuration for the Actor (typically latest).
812812
max_items: Maximum number of results that will be returned by this run. If the Actor is charged
813813
per result, you will not be charged for more results than the given limit.
814-
max_total_charge_usd: A limit on the total charged amount for pay-per-event actors.
814+
max_total_charge_usd: A limit on the total charged amount for pay-per-event Actors.
815815
restart_on_error: If true, the Actor run process will be restarted whenever it exits with
816816
a non-zero status code.
817817
memory_mbytes: Memory limit for the run, in megabytes. By default, the run uses a memory limit
@@ -887,7 +887,7 @@ async def call(
887887
the run uses the build specified in the default run configuration for the Actor (typically latest).
888888
max_items: Maximum number of results that will be returned by this run. If the Actor is charged
889889
per result, you will not be charged for more results than the given limit.
890-
max_total_charge_usd: A limit on the total charged amount for pay-per-event actors.
890+
max_total_charge_usd: A limit on the total charged amount for pay-per-event Actors.
891891
restart_on_error: If true, the Actor run process will be restarted whenever it exits with
892892
a non-zero status code.
893893
memory_mbytes: Memory limit for the run, in megabytes. By default, the run uses a memory limit
@@ -1092,7 +1092,7 @@ async def validate_input(
10921092
10931093
Args:
10941094
run_input: The input to validate.
1095-
build_tag: The actor's build tag.
1095+
build_tag: The Actor's build tag.
10961096
content_type: The content type of the input.
10971097
10981098
Returns:

src/apify_client/_resource_clients/actor_env_var_collection.py

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9,19 +9,19 @@
99

1010

1111
class ActorEnvVarCollectionClient(ResourceClient):
12-
"""Sub-client for manipulating actor env vars."""
12+
"""Sub-client for manipulating Actor env vars."""
1313

1414
def __init__(self, *args: Any, **kwargs: Any) -> None:
1515
resource_path = kwargs.pop('resource_path', 'env-vars')
1616
super().__init__(*args, resource_path=resource_path, **kwargs)
1717

1818
def list(self) -> ListOfEnvVars:
19-
"""List the available actor environment variables.
19+
"""List the available Actor environment variables.
2020
2121
https://docs.apify.com/api/v2#/reference/actors/environment-variable-collection/get-list-of-environment-variables
2222
2323
Returns:
24-
The list of available actor environment variables.
24+
The list of available Actor environment variables.
2525
"""
2626
response = self._http_client.call(
2727
url=self._build_url(),
@@ -38,7 +38,7 @@ def create(
3838
name: str,
3939
value: str,
4040
) -> EnvVar:
41-
"""Create a new actor environment variable.
41+
"""Create a new Actor environment variable.
4242
4343
https://docs.apify.com/api/v2#/reference/actors/environment-variable-collection/create-environment-variable
4444
@@ -48,7 +48,7 @@ def create(
4848
value: The value of the environment variable.
4949
5050
Returns:
51-
The created actor environment variable.
51+
The created Actor environment variable.
5252
"""
5353
actor_env_var_representation = get_actor_env_var_representation(
5454
is_secret=is_secret,
@@ -68,19 +68,19 @@ def create(
6868

6969

7070
class ActorEnvVarCollectionClientAsync(ResourceClientAsync):
71-
"""Async sub-client for manipulating actor env vars."""
71+
"""Async sub-client for manipulating Actor env vars."""
7272

7373
def __init__(self, *args: Any, **kwargs: Any) -> None:
7474
resource_path = kwargs.pop('resource_path', 'env-vars')
7575
super().__init__(*args, resource_path=resource_path, **kwargs)
7676

7777
async def list(self) -> ListOfEnvVars:
78-
"""List the available actor environment variables.
78+
"""List the available Actor environment variables.
7979
8080
https://docs.apify.com/api/v2#/reference/actors/environment-variable-collection/get-list-of-environment-variables
8181
8282
Returns:
83-
The list of available actor environment variables.
83+
The list of available Actor environment variables.
8484
"""
8585
response = await self._http_client.call(
8686
url=self._build_url(),
@@ -97,7 +97,7 @@ async def create(
9797
name: str,
9898
value: str,
9999
) -> EnvVar:
100-
"""Create a new actor environment variable.
100+
"""Create a new Actor environment variable.
101101
102102
https://docs.apify.com/api/v2#/reference/actors/environment-variable-collection/create-environment-variable
103103
@@ -107,7 +107,7 @@ async def create(
107107
value: The value of the environment variable.
108108
109109
Returns:
110-
The created actor environment variable.
110+
The created Actor environment variable.
111111
"""
112112
actor_env_var_representation = get_actor_env_var_representation(
113113
is_secret=is_secret,

src/apify_client/_resource_clients/log.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ class StreamedLog:
209209
arrives, the buffer is processed, logged and emptied.
210210
211211
This works only if the logs have datetime marker in ISO format. For example, `2025-05-12T15:35:59.429Z` This is the
212-
default log standard for the actors.
212+
default log standard for the Actors.
213213
"""
214214

215215
# Test related flag to enable propagation of logs to the `caplog` fixture during tests.
@@ -220,9 +220,9 @@ def __init__(self, to_logger: logging.Logger, *, from_start: bool = True) -> Non
220220
221221
Args:
222222
to_logger: The logger to which the logs will be redirected.
223-
from_start: If `True`, all logs from the start of the actor run will be redirected. If `False`, only newly
223+
from_start: If `True`, all logs from the start of the Actor run will be redirected. If `False`, only newly
224224
arrived logs will be redirected. This can be useful for redirecting only a small portion of relevant
225-
logs for long-running actors in stand-by.
225+
logs for long-running Actors in stand-by.
226226
227227
"""
228228
if self._force_propagate:

src/apify_client/_resource_clients/run.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -331,9 +331,9 @@ def get_streamed_log(self, to_logger: logging.Logger | None = None, *, from_star
331331
332332
Args:
333333
to_logger: `Logger` used for logging the redirected messages. If not provided, a new logger is created
334-
from_start: If `True`, all logs from the start of the actor run will be redirected. If `False`, only newly
334+
from_start: If `True`, all logs from the start of the Actor run will be redirected. If `False`, only newly
335335
arrived logs will be redirected. This can be useful for redirecting only a small portion of relevant
336-
logs for long-running actors in stand-by.
336+
logs for long-running Actors in stand-by.
337337
338338
Returns:
339339
`StreamedLog` instance for redirected logs.
@@ -734,9 +734,9 @@ async def get_streamed_log(
734734
735735
Args:
736736
to_logger: `Logger` used for logging the redirected messages. If not provided, a new logger is created
737-
from_start: If `True`, all logs from the start of the actor run will be redirected. If `False`, only newly
737+
from_start: If `True`, all logs from the start of the Actor run will be redirected. If `False`, only newly
738738
arrived logs will be redirected. This can be useful for redirecting only a small portion of relevant
739-
logs for long-running actors in stand-by.
739+
logs for long-running Actors in stand-by.
740740
741741
Returns:
742742
`StreamedLog` instance for redirected logs.

src/apify_client/_resource_clients/store_collection.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def list(
4040
pricing_model: Filter by this pricing model.
4141
4242
Returns:
43-
The list of available actors matching the specified filters.
43+
The list of available Actors matching the specified filters.
4444
"""
4545
response = self._http_client.call(
4646
url=self._build_url(),
@@ -92,7 +92,7 @@ async def list(
9292
pricing_model: Filter by this pricing model.
9393
9494
Returns:
95-
The list of available actors matching the specified filters.
95+
The list of available Actors matching the specified filters.
9696
"""
9797
response = await self._http_client.call(
9898
url=self._build_url(),

0 commit comments

Comments
 (0)