Make codebase compatible with Python 3.7

This commit is contained in:
Andras Schmelczer 2022-07-29 13:05:05 +02:00
parent 2ad06e8b38
commit f8db199996
No known key found for this signature in database
GPG key ID: 0EA1BC97D0AB076E
11 changed files with 125 additions and 51 deletions

View file

@ -15,13 +15,13 @@ from typing import (
overload,
)
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
from ..external.async_lru import alru_cache
from ..helper import freeze_arguments, get_function_metadata_store, snake_case_to_text
from ..models.use_model import model_versions
from ..parameters.automatically_decorate_parameters import (