🐛 fix protocol not found in py37

This commit is contained in:
yanyongyu 2021-04-02 01:17:33 +08:00
parent 85f0023350
commit e425571b08

View File

@ -9,9 +9,10 @@ import abc
import asyncio
from copy import copy
from functools import reduce, partial
from typing_extensions import Protocol
from dataclasses import dataclass, field
from typing import (Any, Set, Dict, Union, TypeVar, Mapping, Optional, Iterable,
Protocol, Awaitable, TYPE_CHECKING)
Awaitable, TYPE_CHECKING)
from pydantic import BaseModel