Skip to content
Open
Show file tree
Hide file tree
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
6 changes: 6 additions & 0 deletions flyteidl2/workflow/run_service.proto
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,12 @@ message ListRunsRequest {

// List runs created from a trigger.
common.TriggerName trigger_name = 6;

// Task name for filtering runs
task.TaskName task_name = 7;

// Task identifier for filtering runs
task.TaskIdentifier task_id = 8;
}
}

Expand Down
497 changes: 270 additions & 227 deletions gen/go/flyteidl2/workflow/run_service.pb.go

Large diffs are not rendered by default.

82 changes: 82 additions & 0 deletions gen/go/flyteidl2/workflow/run_service.pb.validate.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

22 changes: 22 additions & 0 deletions gen/go/gateway/flyteidl2/workflow/run_service.swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -2347,6 +2347,28 @@
},
"description": "TaskIdentifier is the unique identifier for a task."
},
"taskTaskName": {
"type": "object",
"properties": {
"org": {
"type": "string",
"description": "Org this task belongs to."
},
"project": {
"type": "string",
"description": "Project this task belongs to."
},
"domain": {
"type": "string",
"description": "Domain this task belongs to."
},
"name": {
"type": "string",
"description": "Unique name of the task. Should not be interpreted/parsed. Use `short_name` and `environment_name` for user facing names."
}
},
"description": "Name of a task. It may have multiple versions deployed."
},
"taskTaskSpec": {
"type": "object",
"properties": {
Expand Down
52 changes: 26 additions & 26 deletions gen/python/flyteidl2/workflow/run_service_pb2.py

Large diffs are not rendered by default.

8 changes: 6 additions & 2 deletions gen/python/flyteidl2/workflow/run_service_pb2.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -113,16 +113,20 @@ class GetActionDataResponse(_message.Message):
def __init__(self, inputs: _Optional[_Union[_common_pb2.Inputs, _Mapping]] = ..., outputs: _Optional[_Union[_common_pb2.Outputs, _Mapping]] = ...) -> None: ...

class ListRunsRequest(_message.Message):
__slots__ = ["request", "org", "project_id", "trigger_name"]
__slots__ = ["request", "org", "project_id", "trigger_name", "task_name", "task_id"]
REQUEST_FIELD_NUMBER: _ClassVar[int]
ORG_FIELD_NUMBER: _ClassVar[int]
PROJECT_ID_FIELD_NUMBER: _ClassVar[int]
TRIGGER_NAME_FIELD_NUMBER: _ClassVar[int]
TASK_NAME_FIELD_NUMBER: _ClassVar[int]
TASK_ID_FIELD_NUMBER: _ClassVar[int]
request: _list_pb2.ListRequest
org: str
project_id: _identifier_pb2.ProjectIdentifier
trigger_name: _identifier_pb2.TriggerName
def __init__(self, request: _Optional[_Union[_list_pb2.ListRequest, _Mapping]] = ..., org: _Optional[str] = ..., project_id: _Optional[_Union[_identifier_pb2.ProjectIdentifier, _Mapping]] = ..., trigger_name: _Optional[_Union[_identifier_pb2.TriggerName, _Mapping]] = ...) -> None: ...
task_name: _task_definition_pb2.TaskName
task_id: _task_definition_pb2.TaskIdentifier
def __init__(self, request: _Optional[_Union[_list_pb2.ListRequest, _Mapping]] = ..., org: _Optional[str] = ..., project_id: _Optional[_Union[_identifier_pb2.ProjectIdentifier, _Mapping]] = ..., trigger_name: _Optional[_Union[_identifier_pb2.TriggerName, _Mapping]] = ..., task_name: _Optional[_Union[_task_definition_pb2.TaskName, _Mapping]] = ..., task_id: _Optional[_Union[_task_definition_pb2.TaskIdentifier, _Mapping]] = ...) -> None: ...

class ListRunsResponse(_message.Message):
__slots__ = ["runs", "token"]
Expand Down
31 changes: 11 additions & 20 deletions gen/rust/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading