From 1979a2bc00bf0dd55e627a0a910c65477480f77f Mon Sep 17 00:00:00 2001 From: mstechly Date: Tue, 5 Nov 2024 13:44:25 +0100 Subject: [PATCH] style: fix style issues --- src/qref/schema_v1.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/qref/schema_v1.py b/src/qref/schema_v1.py index 1e243df..ed87732 100644 --- a/src/qref/schema_v1.py +++ b/src/qref/schema_v1.py @@ -24,7 +24,6 @@ BaseModel, BeforeValidator, ConfigDict, - Field, StringConstraints, model_validator, ) @@ -231,7 +230,7 @@ class RoutineV1(BaseModel): """ name: _Name - children: Annotated[NamedList[RoutineV1], _name_sorter] = NamedList[RoutineV1]() + children: Annotated[NamedList[RoutineV1], _name_sorter] = NamedList["RoutineV1"]() type: str | None = None ports: Annotated[NamedList[PortV1], _name_sorter] = NamedList[PortV1]() resources: Annotated[NamedList[ResourceV1], _name_sorter] = NamedList[ResourceV1]()