Fix NameError: import services registry in create_app scope
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 44s
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 44s
The services singleton was used in before_request closures but the import was removed when refactoring to domain_services_fn. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
1
app.py
1
app.py
@@ -39,6 +39,7 @@ async def events_context() -> dict:
|
|||||||
|
|
||||||
|
|
||||||
def create_app() -> "Quart":
|
def create_app() -> "Quart":
|
||||||
|
from shared.services.registry import services
|
||||||
from services import register_domain_services
|
from services import register_domain_services
|
||||||
|
|
||||||
app = create_base_app(
|
app = create_base_app(
|
||||||
|
|||||||
Reference in New Issue
Block a user