Skip to content

Commit

Permalink
Change swebench.harness.reporting to old style optional type hinting
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosejimenez committed Jan 11, 2025
1 parent de6ff17 commit 8b9ac08
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion swebench/harness/reporting.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import docker
import json
from pathlib import Path
from typing import Optional

from swebench.harness.constants import (
KEY_INSTANCE_ID,
Expand All @@ -17,7 +18,7 @@ def make_run_report(
predictions: dict,
full_dataset: list,
run_id: str,
client: docker.DockerClient | None = None,
client: Optional[docker.DockerClient] = None,
) -> Path:
"""
Make a final evaluation and run report of the instances that have been run.
Expand Down

0 comments on commit 8b9ac08

Please sign in to comment.