3.9 你怎么这typing都不支持(恼

This commit is contained in:
shenjack 2023-12-15 07:51:23 +08:00
parent 1127dff969
commit d724b9b06f
Signed by: shenjack
GPG Key ID: 7B1134A979775551

View File

@ -1,4 +1,5 @@
from pathlib import Path
from typing import Union
from pprint import pprint
import mistune
@ -10,7 +11,7 @@ from lib_not_dr.types.options import Options
ast_markdown = mistune.create_markdown(renderer='ast')
ast_type = list[dict[str, str | dict]]
ast_type = list[dict[str, Union[str, dict]]]
class TagParser(Options):