15 lines
601 B
Python
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# -*- 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,
)