We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 190d4f1 commit 9302423Copy full SHA for 9302423
sdk/evaluation/azure-ai-evaluation/azure/ai/evaluation/_evaluate/_utils.py
@@ -197,8 +197,14 @@ def _log_metrics_and_instance_results_onedp(
197
)
198
199
200
+ # TODO: type mis-match because Evaluation instance is assigned to EvaluationRun
201
+ evaluation_id = (
202
+ upload_run_response.name # type: ignore[attr-defined]
203
+ if hasattr(upload_run_response, "name")
204
+ else upload_run_response.id
205
+ )
206
update_run_response = client.update_evaluation_run(
- name=upload_run_response.id,
207
+ name=evaluation_id,
208
evaluation=EvaluationUpload(
209
display_name=evaluation_name,
210
status="Completed",
0 commit comments