15 lines
601 B
Python
15 lines
601 B
Python
# -*- coding: utf-8 -*-
|
||
"""
|
||
仓库根目录兼容 shim:真实实现位于 world_snapshot/init.py。
|
||
|
||
宿主应用集成方式(二选一):
|
||
from world_snapshot.init import load_world_snapshot # pip 安装后
|
||
from world_snapshot import load_world_snapshot # 包 __init__ 已 re-export
|
||
"""
|
||
from .world_snapshot.init import * # noqa: F401,F403
|
||
from .world_snapshot.init import (
|
||
load_world_snapshot, list_snapshots, get_snapshot, create_snapshot,
|
||
update_snapshot, delete_snapshot, restore_snapshot,
|
||
list_worlds_for_snapshot, list_snapshot_types, list_snapshot_statuses,
|
||
)
|