feat: refactor to FastAPI architecture v2.0
Some checks failed
Build & Push Docker / build (push) Has been cancelled
Some checks failed
Build & Push Docker / build (push) Has been cancelled
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
28
app/core/__init__.py
Normal file
28
app/core/__init__.py
Normal file
@@ -0,0 +1,28 @@
|
||||
"""Core business logic for Scenar Creator."""
|
||||
|
||||
from .validator import (
|
||||
ScenarsError,
|
||||
ValidationError,
|
||||
TemplateError,
|
||||
validate_inputs,
|
||||
validate_excel_template,
|
||||
normalize_time,
|
||||
)
|
||||
from .timetable import create_timetable, calculate_row_height, calculate_column_width
|
||||
from .excel_reader import read_excel, get_program_types, parse_inline_schedule, parse_inline_types
|
||||
|
||||
__all__ = [
|
||||
"ScenarsError",
|
||||
"ValidationError",
|
||||
"TemplateError",
|
||||
"validate_inputs",
|
||||
"validate_excel_template",
|
||||
"normalize_time",
|
||||
"create_timetable",
|
||||
"calculate_row_height",
|
||||
"calculate_column_width",
|
||||
"read_excel",
|
||||
"get_program_types",
|
||||
"parse_inline_schedule",
|
||||
"parse_inline_types",
|
||||
]
|
||||
Reference in New Issue
Block a user