Try compatibility with Python 3.7
This commit is contained in:
parent
10b41aadac
commit
85d079fab8
10 changed files with 20 additions and 23 deletions
|
|
@ -5,7 +5,9 @@ from abc import ABC, abstractmethod
|
|||
from functools import lru_cache
|
||||
from pathlib import Path
|
||||
from types import TracebackType
|
||||
from typing import IO, Any, List, Literal, Optional, Type, Union, cast
|
||||
from typing import IO, Any, List, Optional, Type, Union, cast
|
||||
|
||||
from typing_extensions import Literal # <= Python 3.7
|
||||
|
||||
from great_ai.utilities import ConfigFile, get_logger
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue