task.proto

flyteidl.admin.TaskCreateRequest

[flyteidl.admin.TaskCreateRequest proto]

Represents a request structure to create a revision of a task.

{
  "id": "{...}",
  "spec": "{...}"
}
id

(flyteidl.core.Identifier) id represents the unique identifier of the task.

spec

(flyteidl.admin.TaskSpec) Represents the specification for task.

flyteidl.admin.TaskCreateResponse

[flyteidl.admin.TaskCreateResponse proto]

Represents a response structure if task creation succeeds.

{}

flyteidl.admin.Task

[flyteidl.admin.Task proto]

Flyte workflows are composed of many ordered tasks. That is small, reusable, self-contained logical blocks arranged to process workflow inputs and produce a deterministic set of outputs. Tasks can come in many varieties tuned for specialized behavior.

{
  "id": "{...}",
  "closure": "{...}"
}
id

(flyteidl.core.Identifier) id represents the unique identifier of the task.

closure

(flyteidl.admin.TaskClosure) closure encapsulates all the fields that maps to a compiled version of the task.

flyteidl.admin.TaskList

[flyteidl.admin.TaskList proto]

Represents a list of tasks returned from the admin.

{
  "tasks": [],
  "token": "..."
}
tasks

(flyteidl.admin.Task) A list of tasks returned based on the request.

token

(string) In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. If there are no more results, this value will be empty.

flyteidl.admin.TaskSpec

[flyteidl.admin.TaskSpec proto]

Represents a structure that encapsulates the user-configured specification of the task.

{
  "template": "{...}"
}
template

(flyteidl.core.TaskTemplate) Template of the task that encapsulates all the metadata of the task.

flyteidl.admin.TaskClosure

[flyteidl.admin.TaskClosure proto]

Compute task attributes which include values derived from the TaskSpec, as well as plugin-specific data and task metadata.

{
  "compiled_task": "{...}",
  "created_at": "{...}"
}
compiled_task

(flyteidl.core.CompiledTask) Represents the compiled representation of the task from the specification provided.

created_at

(google.protobuf.Timestamp) Time at which the task was created.