File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed
Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -428,14 +428,14 @@ def get_session_state():
428428
429429 app .include_router (
430430 get_router (
431- query_registry ,
432- authenticators ,
433- get_current_principal ,
434431 tree ,
435- get_session_state ,
432+ query_registry ,
436433 serialization_registry ,
437434 deserialization_registry ,
438435 validation_registry ,
436+ authenticators ,
437+ get_current_principal ,
438+ get_session_state ,
439439 ),
440440 prefix = "/api/v1" ,
441441 )
Original file line number Diff line number Diff line change @@ -135,14 +135,14 @@ async def route_with_sig(*args, **kwargs):
135135 return inner
136136
137137def get_router (
138- query_registry ,
139- authenticators : dict [str , Authenticator ],
140- get_current_principal ,
141138 tree : Mapping [str , Any ],
142- get_session_state ,
139+ query_registry : QueryRegistry ,
143140 serialization_registry : SerializationRegistry ,
144141 deserialization_registry : SerializationRegistry ,
145142 validation_registry : ValidationRegistry ,
143+ authenticators : dict [str , Authenticator ],
144+ get_current_principal : Callable [..., Optional [str ]],
145+ get_session_state : Callable [..., Optional [dict [str , Any ]]],
146146) -> APIRouter :
147147 router = APIRouter ()
148148 SecureEntry = SecureEntryBuilder (tree , get_current_principal , get_session_state )
You can’t perform that action at this time.
0 commit comments