fix: remove broken service re-exports from __init__.py — fixes ImportError on startup
This commit is contained in:
+14
-13
@@ -1,27 +1,28 @@
|
||||
{
|
||||
"project_name": "leocrm",
|
||||
"phase": "phase-6-complete",
|
||||
"status": "phase_6_deployment_complete",
|
||||
"last_commit": "1d3fccc",
|
||||
"phase": "phase-6-deployment-broken",
|
||||
"status": "coolify_app_down_unhealthy",
|
||||
"last_commit": "1c05936",
|
||||
"forgejo_synced": true,
|
||||
"completed_tasks": ["T01","T02","T03","T04","T05","T06","T07a","T07b","T08a","T08b","T08c","T09","T10","T11"],
|
||||
"current_task": null,
|
||||
"current_task": "fix-coolify-deployment",
|
||||
"next_task": "phase7-release",
|
||||
"test_results": {
|
||||
"backend_tests": "564/564 passed",
|
||||
"frontend_tests": "318/318 passed",
|
||||
"backend_tests": "564/564 passed (as of 2026-07-02)",
|
||||
"frontend_tests": "318/318 passed (as of 2026-07-02)",
|
||||
"coverage": "85.41%"
|
||||
},
|
||||
"runtime_results": {
|
||||
"app_start": "successful",
|
||||
"health_endpoint": "200 OK",
|
||||
"swagger": "200 OK"
|
||||
"app_start": "unknown — needs verification after redeploy",
|
||||
"health_endpoint": "unknown — Coolify status exited:unhealthy",
|
||||
"swagger": "unknown"
|
||||
},
|
||||
"deployment_results": {
|
||||
"url": "https://crm.media-on.de",
|
||||
"status": "running:healthy",
|
||||
"health_check": "200 OK",
|
||||
"swagger": "200 OK"
|
||||
"status": "exited:unhealthy",
|
||||
"health_check": "not responding",
|
||||
"swagger": "unknown",
|
||||
"coolify_uuid": "stvabl4vaqru7jclx4ittzr3"
|
||||
},
|
||||
"updated_at": "2026-07-02T09:27:00+02:00"
|
||||
"updated_at": "2026-07-04T18:10:00+02:00"
|
||||
}
|
||||
|
||||
@@ -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