优化系统架构

This commit is contained in:
jingrow 2025-10-25 12:59:39 +08:00
parent 01a60017a2
commit 703ce1d7e9

View File

@ -1,18 +1,10 @@
# Copyright (c) 2025, JINGROW
# License: MIT. See LICENSE
from __future__ import annotations
from typing import Any
def load_pagetype_module(pagetype: str, module: str | None = None, prefix: str = "", suffix: str = "") -> Any:
"""
严格对齐 jingrow 系统直接调用上游的 jingrow.modules.utils.load_pagetype_module
不做任何本地回退与兼容处理
"""
from jingrow.modules.utils import load_pagetype_module as upstream_loader # type: ignore
return upstream_loader(pagetype, module, prefix, suffix)
pass