Spaces:
Sleeping
Sleeping
File size: 403 Bytes
68117ed | 1 2 3 4 5 6 7 8 9 10 | import typing
import typing_extensions
# Backport Python 3.11+ typing constructs for Python 3.10 runtime environments
for attr in ("Self", "TypeAlias", "LiteralString", "Never", "assert_never", "dataclass_transform", "override", "deprecated"):
if not hasattr(typing, attr) and hasattr(typing_extensions, attr):
setattr(typing, attr, getattr(typing_extensions, attr))
__version__ = "1.1.0"
|