mirror of
https://github.com/NousResearch/atropos.git
synced 2026-04-19 12:57:58 +00:00
Fix TypedDict import for Python 3.10 compatibility
- Use typing_extensions.TypedDict instead of typing.TypedDict - Fixes Pydantic error on Python < 3.12
This commit is contained in:
parent
02492c88b3
commit
0ff55bf2cf
2 changed files with 4 additions and 2 deletions
|
|
@ -11,7 +11,8 @@ from abc import ABC, abstractmethod
|
|||
from datetime import datetime
|
||||
from enum import Enum
|
||||
from pathlib import Path
|
||||
from typing import Any, Dict, List, Optional, Tuple, TypedDict, Union
|
||||
from typing import Any, Dict, List, Optional, Tuple, Union
|
||||
from typing_extensions import TypedDict
|
||||
|
||||
import aiohttp
|
||||
import jsonlines
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue