增加26.0.0报刊内容

This commit is contained in:
xingguang2023-07-11 committed 2026-11-06 00:43:09 +08:00
1 parent 05be2fe43f
commit 5f0589270e
1902 files changed
+363497 -12

No files matched your search

@@ -0,0 +1,13 @@
try:
from fastapi_cli.cli import main as cli_main
except ImportError: # pragma: no cover
cli_main = None # type: ignore # ty: ignore[unused-ignore-comment]
def main() -> None:
if not cli_main: # type: ignore[truthy-function]
message = 'To use the fastapi command, please install "fastapi[standard]":\n\n\tpip install "fastapi[standard]"\n'
print(message)
raise RuntimeError(message) # noqa: B904
cli_main()