Files
DeepTutor/deeptutor/book/blocks/__init__.py
Bingxi Zhao (Frank) 77f29cbcc7 fix lint
2026-04-23 19:29:16 +08:00

42 lines
1.1 KiB
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.

"""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",
]