From 1535ae4b1edbbd36036cddd2871b01efe565b94d Mon Sep 17 00:00:00 2001 From: Christoph Berganski Date: Fri, 5 Sep 2025 16:25:13 +0200 Subject: [PATCH] Add missing .. versionadded:: for DataType.is_string Signed-off-by: Christoph Berganski --- src/onnx_ir/_enums.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/onnx_ir/_enums.py b/src/onnx_ir/_enums.py index 790bb6aa..9734933e 100644 --- a/src/onnx_ir/_enums.py +++ b/src/onnx_ir/_enums.py @@ -357,7 +357,10 @@ def is_signed(self) -> bool: } def is_string(self) -> bool: - """Returns True if the data type is a string type.""" + """Returns True if the data type is a string type. + + .. versionadded:: 0.1.8 + """ return self == DataType.STRING def __repr__(self) -> str: