File tree Expand file tree Collapse file tree 1 file changed +0
-13
lines changed
Expand file tree Collapse file tree 1 file changed +0
-13
lines changed Original file line number Diff line number Diff line change @@ -124,17 +124,6 @@ async def _process_row(row: EvaluationRow) -> EvaluationRow:
124124 status_logs .append (log )
125125
126126 if status_logs :
127- # finished_logs = []
128- # for log in status_logs:
129- # sd = log.get("status") or {}
130- # if isinstance(sd, dict) and sd.get("code") == Status.Code.FINISHED:
131- # finished_logs.append(log)
132- # if len(finished_logs) > 1:
133- # logger.warning(
134- # "Found %s FINISHED status logs for rollout %s; expected at most 1. Using the first one.",
135- # len(finished_logs),
136- # row.execution_metadata.rollout_id,
137- # )
138127 # Use the first log with status information
139128 status_log = status_logs [0 ]
140129 status_dict = status_log .get ("status" )
@@ -162,8 +151,6 @@ async def _process_row(row: EvaluationRow) -> EvaluationRow:
162151 details = status_details ,
163152 )
164153
165- # then add the log extras to be stuffed into row.artifacts or something
166-
167154 logger .info ("Stopping polling for rollout %s" , row .execution_metadata .rollout_id )
168155 break
169156
You can’t perform that action at this time.
0 commit comments