Try compatibility with Python 3.7
This commit is contained in:
parent
10b41aadac
commit
85d079fab8
10 changed files with 20 additions and 23 deletions
|
|
@ -2,9 +2,11 @@ from contextvars import ContextVar
|
|||
from datetime import datetime
|
||||
from time import perf_counter
|
||||
from types import TracebackType
|
||||
from typing import Any, Dict, Generic, List, Literal, Optional, Type, TypeVar, cast
|
||||
from typing import Any, Dict, Generic, List, Optional, Type, TypeVar, cast
|
||||
from uuid import uuid4
|
||||
|
||||
from typing_extensions import Literal # <= Python 3.7
|
||||
|
||||
from ..constants import DEVELOPMENT_TAG_NAME, ONLINE_TAG_NAME, PRODUCTION_TAG_NAME
|
||||
from ..context import get_context
|
||||
from ..views import Model, Trace
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue