Add __future__ imports for older python
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
from __future__ import annotations
|
||||
from aiohttp import web
|
||||
from typing import NamedTuple
|
||||
import json
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
from __future__ import annotations
|
||||
from weakref import ref as WeakRef
|
||||
from pathlib import Path
|
||||
from tqdm import tqdm
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user