We use cookies

We use cookies to ensure you get the best experience on our website. For more information on how we use cookies, please see our cookie policy.

By clicking "Accept", you agree to our use of cookies.
Learn more.

SDK ReferencePython SDKFeature ClientsLogs

Logs Client

Bases: BaseRestClient

The logs client is a client for interacting with Hatchet’s logs API.

Methods:

NameDescription
aio_listList log lines for a given task run.
listList log lines for a given task run.

Functions

aio_list

List log lines for a given task run.

Parameters:

NameTypeDescriptionDefault
task_run_idstrThe ID of the task run to list logs for.required

Returns:

TypeDescription
V1LogLineListA list of log lines for the specified task run.

list

List log lines for a given task run.

Parameters:

NameTypeDescriptionDefault
task_run_idstrThe ID of the task run to list logs for.required

Returns:

TypeDescription
V1LogLineListA list of log lines for the specified task run.