@@ -119,8 +119,8 @@ def _build_url(
119119 def _build_public_url (self , path : str , params : dict [str , Any ]) -> str :
120120 """Build a public resource URL with API-normalized query params.
121121
122- Normalizes `params` the same way the HTTP request path does (bool→ true/false, list→ comma-joined,
123- datetime→ ISO 8601 Zulu) so the shareable URL matches what the client would send over the wire.
122+ Normalizes `params` the same way the HTTP request path does (bool -> true/false, list -> comma-joined,
123+ datetime -> ISO 8601 Zulu) so the shareable URL matches what the client would send over the wire.
124124
125125 Args:
126126 path: Path segment appended to the resource URL (e.g. 'items', 'keys').
@@ -153,7 +153,7 @@ def _clean_json_payload(data: dict) -> dict:
153153
154154 The Apify API ignores missing fields but may reject fields explicitly set to None.
155155 Nested sub-models serialized by Pydantic may produce empty dicts when all their
156- fields are None — these are also removed.
156+ fields are None - these are also removed.
157157
158158 Uses an iterative stack-based approach, analogous to _build_params for query params.
159159 """
@@ -223,7 +223,7 @@ def _get(self, *, timeout: Timeout) -> dict | None:
223223 """Perform a GET request for this resource, returning the parsed response or None if not found.
224224
225225 404s collapse to `None` only for ID-identified clients. Chained clients without a `resource_id`
226- (e.g. `run.dataset()`) propagate `NotFoundError` — see `catch_not_found_for_resource_or_throw`.
226+ (e.g. `run.dataset()`) propagate `NotFoundError` - see `catch_not_found_for_resource_or_throw`.
227227 """
228228 try :
229229 response = self ._http_client .call (
@@ -252,7 +252,7 @@ def _delete(self, *, timeout: Timeout) -> None:
252252 """Perform a DELETE request to delete this resource.
253253
254254 404s are swallowed (idempotent DELETE) only for ID-identified clients. Chained clients without a
255- `resource_id` propagate `NotFoundError` — see `catch_not_found_for_resource_or_throw`.
255+ `resource_id` propagate `NotFoundError` - see `catch_not_found_for_resource_or_throw`.
256256 """
257257 try :
258258 self ._http_client .call (
@@ -415,7 +415,7 @@ async def _get(self, *, timeout: Timeout) -> dict | None:
415415 """Perform a GET request for this resource, returning the parsed response or None if not found.
416416
417417 404s collapse to `None` only for ID-identified clients. Chained clients without a `resource_id`
418- (e.g. `run.dataset()`) propagate `NotFoundError` — see `catch_not_found_for_resource_or_throw`.
418+ (e.g. `run.dataset()`) propagate `NotFoundError` - see `catch_not_found_for_resource_or_throw`.
419419 """
420420 try :
421421 response = await self ._http_client .call (
@@ -444,7 +444,7 @@ async def _delete(self, *, timeout: Timeout) -> None:
444444 """Perform a DELETE request to delete this resource.
445445
446446 404s are swallowed (idempotent DELETE) only for ID-identified clients. Chained clients without a
447- `resource_id` propagate `NotFoundError` — see `catch_not_found_for_resource_or_throw`.
447+ `resource_id` propagate `NotFoundError` - see `catch_not_found_for_resource_or_throw`.
448448 """
449449 try :
450450 await self ._http_client .call (
0 commit comments