refactor: remove typealias import

This commit is contained in:
Juro Oravec 2024-04-16 23:06:30 +02:00
parent f28e5695f4
commit 1d0da559b4

View file

@ -1,13 +1,7 @@
import difflib import difflib
import json import json
import sys
from typing import Dict, List, NamedTuple, Optional, Sequence, Set, Type, Union from typing import Dict, List, NamedTuple, Optional, Sequence, Set, Type, Union
if sys.version_info[:2] < (3, 10):
from typing_extensions import TypeAlias
else:
from typing import TypeAlias # noqa # TODO: Is this required?
from django.template import Context, Template from django.template import Context, Template
from django.template.base import FilterExpression, Node, NodeList, Parser, TextNode from django.template.base import FilterExpression, Node, NodeList, Parser, TextNode
from django.template.defaulttags import CommentNode from django.template.defaulttags import CommentNode