fix: remove broken service re-exports from __init__.py — fixes ImportError on startup
This commit is contained in:
@@ -1,34 +1,8 @@
|
||||
"""Service layer package."""
|
||||
"""Service layer package.
|
||||
|
||||
from app.services.address_service import address_service # noqa: F401
|
||||
from app.services.ai_copilot_service import (
|
||||
execute_action as copilot_execute_action, # noqa: F401
|
||||
)
|
||||
from app.services.ai_copilot_service import (
|
||||
get_history as copilot_get_history, # noqa: F401
|
||||
)
|
||||
from app.services.ai_copilot_service import (
|
||||
process_query as copilot_process_query, # noqa: F401
|
||||
)
|
||||
from app.services.attachment_service import attachment_service # noqa: F401
|
||||
from app.services.currency_service import currency_service # noqa: F401
|
||||
from app.services.plugin_service import PluginService, get_plugin_service # noqa: F401
|
||||
from app.services.sequence_service import sequence_service # noqa: F401
|
||||
from app.services.system_settings_service import system_settings_service # noqa: F401
|
||||
from app.services.tax_service import tax_service # noqa: F401
|
||||
from app.services.workflow_service import (
|
||||
advance_instance, # noqa: F401
|
||||
auto_reject_timeout, # noqa: F401
|
||||
cancel_instance, # noqa: F401
|
||||
check_timeout, # noqa: F401
|
||||
create_instance, # noqa: F401
|
||||
create_workflow, # noqa: F401
|
||||
delete_workflow, # noqa: F401
|
||||
find_workflows_for_event, # noqa: F401
|
||||
get_instance, # noqa: F401
|
||||
get_workflow, # noqa: F401
|
||||
list_instances, # noqa: F401
|
||||
list_workflows, # noqa: F401
|
||||
start_instance_for_event, # noqa: F401
|
||||
update_workflow, # noqa: F401
|
||||
)
|
||||
Routes import service modules directly, e.g.:
|
||||
from app.services import address_service
|
||||
|
||||
This works via Python's module system without needing
|
||||
explicit re-exports in __init__.py.
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user