Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion src/onnx_ir/_enums.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
Loading