mirror of
https://github.com/fastapi/sqlmodel.git
synced 2026-03-13 09:29:54 +08:00
➖ Drop support for Python 3.9 (#1766)
This commit is contained in:
committed by
GitHub
parent
ffdcb44ae2
commit
ede8dd062d
@@ -1,4 +1,4 @@
|
||||
from typing import Any, Union
|
||||
from typing import Any
|
||||
|
||||
from mkdocs.config.defaults import MkDocsConfig
|
||||
from mkdocs.structure.files import Files
|
||||
@@ -7,9 +7,9 @@ from mkdocs.structure.pages import Page
|
||||
|
||||
|
||||
def generate_renamed_section_items(
|
||||
items: list[Union[Page, Section, Link]], *, config: MkDocsConfig
|
||||
) -> list[Union[Page, Section, Link]]:
|
||||
new_items: list[Union[Page, Section, Link]] = []
|
||||
items: list[Page | Section | Link], *, config: MkDocsConfig
|
||||
) -> list[Page | Section | Link]:
|
||||
new_items: list[Page | Section | Link] = []
|
||||
for item in items:
|
||||
if isinstance(item, Section):
|
||||
new_title = item.title
|
||||
|
||||
Reference in New Issue
Block a user