From 640b7456d2aa83f3d8fdc5c6b7c5065567ee7dbf Mon Sep 17 00:00:00 2001 From: Tim O'Farrell Date: Tue, 17 Oct 2023 09:52:28 -0600 Subject: [PATCH] Processing action routes first Persisty requires that the action route is processed first. --- servey/servey_starlette/route_factory/action_route_factory.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/servey/servey_starlette/route_factory/action_route_factory.py b/servey/servey_starlette/route_factory/action_route_factory.py index 19a4d05..2141f35 100644 --- a/servey/servey_starlette/route_factory/action_route_factory.py +++ b/servey/servey_starlette/route_factory/action_route_factory.py @@ -20,6 +20,8 @@ class ActionRouteFactory(RouteFactoryABC): """Utility for mounting actions to fastapi_integration.""" + priority: int = 110 + action_endpoint_factories: List[ActionEndpointFactoryABC] = field( default_factory=create_endpoint_factories )