Skip to main content

task_info

Parses a line of text using a regular expression to extract and return task information groups.

def task_info(
line: string
) - > tuple

Extracts task-related metadata from a raw log line using a predefined regular expression.

Parameters

NameTypeDescription
linestringThe raw string or log line to be parsed for task information.

Returns

TypeDescription
tupleA tuple containing the captured groups from the task information match, such as task ID or status.