From 8f90baf3957e6b657160cb183f8a3ebf4192fe8d Mon Sep 17 00:00:00 2001 From: "d.kovalenko" Date: Tue, 24 Feb 2026 10:07:01 +0300 Subject: [PATCH] OptionData is fixed (typing.Optional) --- src/core/model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/model.py b/src/core/model.py index cc89d74..61e009b 100644 --- a/src/core/model.py +++ b/src/core/model.py @@ -93,7 +93,7 @@ class OptionData(FileLineElementData): # -------------------------------------------------------------------- def __init__( - self, parent: FileLineData, offset: typing.Offset[int], name: str, value: any + self, parent: FileLineData, offset: typing.Optional[int], name: str, value: any ): assert type(parent) is FileLineData assert offset is None or type(offset) is int