Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions src/apify_client/_resource_clients/log.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,10 @@ def get_as_bytes(self, *, raw: bool = False, timeout: Timeout = 'long') -> bytes

https://docs.apify.com/api/v2#/reference/logs/log/get-log

404s collapse to `None` only when this client targets a specific log by ID (e.g.
`client.log(run_id).get_as_bytes()`). For chained clients without a `resource_id` (e.g.
`run.log().get_as_bytes()`), a 404 is ambiguous and propagates.

Args:
raw: If true, the log will include formatting. For example, coloring character sequences.
timeout: Timeout for the API HTTP request.
Expand Down Expand Up @@ -97,6 +101,9 @@ def stream(self, *, raw: bool = False, timeout: Timeout = 'long') -> Iterator[Ht

https://docs.apify.com/api/v2#/reference/logs/log/get-log

404s collapse to `None` only when this client targets a specific log by ID (e.g. `client.log(run_id).stream()`).
For chained clients without a `resource_id` (e.g. `run.log().stream()`), a 404 is ambiguous and propagates.

Args:
raw: If true, the log will include formatting. For example, coloring character sequences.
timeout: Timeout for the API HTTP request.
Expand Down Expand Up @@ -177,6 +184,10 @@ async def get_as_bytes(self, *, raw: bool = False, timeout: Timeout = 'long') ->

https://docs.apify.com/api/v2#/reference/logs/log/get-log

404s collapse to `None` only when this client targets a specific log by ID (e.g.
`client.log(run_id).get_as_bytes()`). For chained clients without a `resource_id` (e.g.
`run.log().get_as_bytes()`), a 404 is ambiguous and propagates.

Args:
raw: If true, the log will include formatting. For example, coloring character sequences.
timeout: Timeout for the API HTTP request.
Expand Down Expand Up @@ -205,6 +216,9 @@ async def stream(self, *, raw: bool = False, timeout: Timeout = 'long') -> Async

https://docs.apify.com/api/v2#/reference/logs/log/get-log

404s collapse to `None` only when this client targets a specific log by ID (e.g. `client.log(run_id).stream()`).
For chained clients without a `resource_id` (e.g. `run.log().stream()`), a 404 is ambiguous and propagates.

Args:
raw: If true, the log will include formatting. For example, coloring character sequences.
timeout: Timeout for the API HTTP request.
Expand Down
Loading