jolly-florist-66728
10/14/2024, 11:14 AMremote.recent_executions(filters=[Filter(key="project", value="flytesnacks")])
but this raises the error
FlyteInvalidInputException: USER:BadInputToAPI: error=None, cause=<_InactiveRpcError of RPC that terminated with:
status = StatusCode.INVALID_ARGUMENT
details = "'e.project' is invalid filter"
debug_error_string = "UNKNOWN:Error received from peer {created_time:"2024-10-14T13:07:40.919415+02:00", grpc_status:3, grpc_message:"\'e.project\' is invalid
filter"}"
Could please someone explain me what are the possible values to be se in the filter?
# Answer
Filtering executions by tags or labels is not currently supported in Flyte. According to this GitHub issue, Flyte does not support filtering resources using custom labels. The ResourceListRequest
struct used to retrieve resources includes a filters
field, but it does not explicitly support custom labels.
For filtering by other fields, you can refer to the FlyteAdmin service documentation which provides details on how filters work. Common filters include fields like project
, domain
, name
, phase
, and created_at
.
Would you like more details on how to use these filters or any other specific information?
Sources:
- Core feature: Filter by labels
Slack Link
https://.slack.com/archives/CP2HDHKE1/p1728904433.472049 š 0 button š 0 button š” Hint: Mention @runllm in the thread for followups.