Add __future__ imports for older python

This commit is contained in:
Acly
2024-07-28 13:14:29 +02:00
parent d20615fb48
commit 42965013f9
3 changed files with 3 additions and 0 deletions
+1
View File
@@ -1,3 +1,4 @@
from __future__ import annotations
from aiohttp import web
from typing import NamedTuple
import json
+1
View File
@@ -1,3 +1,4 @@
from __future__ import annotations
from weakref import ref as WeakRef
from pathlib import Path
from tqdm import tqdm
+1
View File
@@ -6,6 +6,7 @@ language code. Text fragments after a language directives are translated.
If the language is `en` text is passed through unmodified.
"""
from __future__ import annotations
import re
from functools import cache
from typing import NamedTuple