LogClient
Hierarchy
- ResourceClient
- LogClient
Index
Methods
__init__
Initialize a new instance.
Parameters
keyword-onlybase_url: str
Base URL of the API server.
keyword-onlyroot_client: ApifyClient
The ApifyClient instance under which this resource client exists.
keyword-onlyhttp_client: HTTPClient
The HTTPClient instance to be used in this client.
optionalkeyword-onlyresource_id: str | None = None
ID of the manipulated resource, in case of a single-resource client.
keyword-onlyresource_path: str
Path to the resource's endpoint on the API server.
optionalkeyword-onlyparams: dict | None = None
Parameters to include in all requests from this client.
Returns None
get
Retrieve the log as text.
Parameters
optionalkeyword-onlyraw: bool = False
If true, the log will include formating. For example, coloring character sequences.
Returns str | None
get_as_bytes
Retrieve the log as raw bytes.
Parameters
optionalkeyword-onlyraw: bool = False
If true, the log will include formating. For example, coloring character sequences.
Returns bytes | None
stream
Retrieve the log as a stream.
Parameters
optionalkeyword-onlyraw: bool = False
If true, the log will include formating. For example, coloring character sequences.
Returns Iterator[impit.Response | None]
Sub-client for manipulating logs.