Skip to content

Commit ca67aa4

Browse files
authored
Add missing .. versionadded:: for DataType.is_string (#177)
Signed-off-by: Christoph Berganski <[email protected]>
1 parent a706e17 commit ca67aa4

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/onnx_ir/_enums.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -357,7 +357,10 @@ def is_signed(self) -> bool:
357357
}
358358

359359
def is_string(self) -> bool:
360-
"""Returns True if the data type is a string type."""
360+
"""Returns True if the data type is a string type.
361+
362+
.. versionadded:: 0.1.8
363+
"""
361364
return self == DataType.STRING
362365

363366
def __repr__(self) -> str:

0 commit comments

Comments
 (0)