Skip to content

Commit 331595c

Browse files
committed
chore: fixup docstring of TypeMapper.from_string() to be more accurate
1 parent 75a53dc commit 331595c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

ibis/formats/__init__.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,7 @@ def from_string(cls, text: str, nullable: bool | None = None) -> DataType:
6767
The backend-specific string representation to convert.
6868
nullable
6969
Whether the Ibis DataType should be nullable.
70-
If `None`, the nullability will be inferred from `text` if possible,
71-
eg if the string starts with '!' it is considered non-nullable.
70+
If `None`, the specific type mapper will choose a default.
7271
7372
Returns
7473
-------

0 commit comments

Comments
 (0)