From b4a9a76d4b0f6196ee5587388197a4c884f6c487 Mon Sep 17 00:00:00 2001 From: Kyle Husmann Date: Mon, 23 Dec 2024 19:11:06 -0800 Subject: [PATCH] set model_config to @private --- src/benlink/message.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/benlink/message.py b/src/benlink/message.py index 981021e..5fdf89d 100644 --- a/src/benlink/message.py +++ b/src/benlink/message.py @@ -38,7 +38,9 @@ class ImmutableBaseModel(BaseModel): """@private (A base class for immutable data objects)""" + model_config = ConfigDict(frozen=True) + """@private""" def command_message_to_protocol(m: CommandMessage) -> p.Message: