aider: Import the List class from the typing module in benchmark.py.

# Context:
USER: benchmark/benchmark.py:60:15: F821 undefined name 'List'
ASSISTANT: To fix the undefined name 'List' error, we need to import the List class from the typing module.

Here is the change:

```python
benchmark/benchmark.py
<<<<<<< ORIGINAL
import datetime
import json
import os
import random
import re
import shutil
import subprocess
import time
from collections import defaultdict
from json.decoder import JSONDecodeError
from pathlib import Path
=======
import datetime
import json
import os
import random
import re
import shutil
import subprocess
import time
from collections import defaultdict
from json.decoder import JSONDecodeError
from pathlib import Path
from typing import List
>>>>>>> UPDATED
```
This commit is contained in:
Paul Gauthier 2023-06-29 18:20:15 -07:00
parent 4bb174d040
commit 6706b01eb8

View file

@ -11,6 +11,7 @@ import time
from collections import defaultdict
from json.decoder import JSONDecodeError
from pathlib import Path
from typing import List
import git
import lox