项目文件夹

文件
wehub-resource-sync e4dcfc49aa
Tests / Import Check (Python 3.13) (push) Has been cancelled
Tests / Import Check (Python 3.14) (push) Has been cancelled
Tests / Python Tests (Python 3.11) (push) Has been cancelled
Tests / Python Tests (Python 3.12) (push) Has been cancelled
Tests / Python Tests (Python 3.14) (push) Has been cancelled
Tests / Test Summary (push) Has been cancelled
Tests / Lint and Format (push) Has been cancelled
Tests / Web Node Tests (push) Has been cancelled
Tests / Import Check (Python 3.11) (push) Has been cancelled
Tests / Import Check (Python 3.12) (push) Has been cancelled
Tests / Python Tests (Python 3.13) (push) Has been cancelled
chore: import upstream snapshot with attribution
2026-07-13 13:00:43 +08:00

42 行
1.1 KiB
Python

"""Block generators – one per ``BlockType``."""
# Phase 2+ generators
from .animation import AnimationGenerator
from .base import (
BlockContext,
BlockGenerator,
BlockGeneratorRegistry,
GenerationFailure,
get_block_registry,
)
from .callout import CalloutGenerator
from .code import CodeGenerator
from .deep_dive import DeepDiveGenerator
from .figure import FigureGenerator
from .flash_cards import FlashCardsGenerator
from .interactive import InteractiveGenerator
from .quiz import QuizGenerator
from .text import TextGenerator, generate_bridge_text
from .timeline import TimelineGenerator
from .user_note import UserNoteGenerator
__all__ = [
"BlockContext",
"BlockGenerator",
"BlockGeneratorRegistry",
"GenerationFailure",
"get_block_registry",
"TextGenerator",
"generate_bridge_text",
"CalloutGenerator",
"QuizGenerator",
"UserNoteGenerator",
"FigureGenerator",
"InteractiveGenerator",
"AnimationGenerator",
"CodeGenerator",
"TimelineGenerator",
"FlashCardsGenerator",
"DeepDiveGenerator",
]