优化系统架构
This commit is contained in:
parent
01a60017a2
commit
703ce1d7e9
@ -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
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user