From d479111e9dedd6441fd61c8a1fca34c67ff58958 Mon Sep 17 00:00:00 2001 From: Jessica Millar Date: Wed, 11 Dec 2024 16:44:28 -0500 Subject: [PATCH] DfrConfig: InitialVoltsTimes100 can be 0 --- src/gwproto/named_types/dfr_config.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gwproto/named_types/dfr_config.py b/src/gwproto/named_types/dfr_config.py index e2800d92..0e8389db 100644 --- a/src/gwproto/named_types/dfr_config.py +++ b/src/gwproto/named_types/dfr_config.py @@ -2,13 +2,13 @@ from typing import Literal -from pydantic import PositiveInt +from pydantic import PositiveInt, StrictInt from gwproto.named_types.channel_config import ChannelConfig class DfrConfig(ChannelConfig): OutputIdx: PositiveInt - InitialVoltsTimes100: PositiveInt + InitialVoltsTimes100: StrictInt TypeName: Literal["dfr.config"] = "dfr.config" Version: Literal["000"] = "000"