Try compatibility with Python 3.7

This commit is contained in:
Andras Schmelczer 2022-07-29 09:50:06 +02:00
parent 10b41aadac
commit 85d079fab8
No known key found for this signature in database
GPG key ID: 0EA1BC97D0AB076E
10 changed files with 20 additions and 23 deletions

View file

@ -6,7 +6,6 @@ from typing import (
Callable,
Generic,
List,
Literal,
Optional,
Sequence,
Tuple,
@ -19,6 +18,7 @@ from typing import (
from async_lru import alru_cache
from fastapi import FastAPI
from tqdm.cli import tqdm
from typing_extensions import Literal # <= Python 3.7
from ..constants import DASHBOARD_PATH
from ..context import get_context