From 9e8ec79430f8ce49cc769bee080932810fd22eb0 Mon Sep 17 00:00:00 2001 From: mstechly Date: Tue, 21 May 2024 14:55:13 -0400 Subject: [PATCH] fix: update sorter for linked_params --- src/qref/_schema_v1.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/qref/_schema_v1.py b/src/qref/_schema_v1.py index 3b5c41f..999ea22 100644 --- a/src/qref/_schema_v1.py +++ b/src/qref/_schema_v1.py @@ -88,7 +88,7 @@ class RoutineV1(BaseModel): connections: Annotated[list[_ConnectionV1], connection_sorter] = Field(default_factory=list) input_params: list[Name] = Field(default_factory=list) local_variables: list[str] = Field(default_factory=list) - linked_params: Annotated[list[_ParamLinkV1], name_sorter] = Field(default_factory=list) + linked_params: Annotated[list[_ParamLinkV1], connection_sorter] = Field(default_factory=list) meta: dict[str, Any] = Field(default_factory=dict) model_config = ConfigDict(title="Routine")