Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
paleolimbot committed Dec 13, 2024
1 parent df761c8 commit e4ff26e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions python/pyarrow/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -289,14 +289,17 @@ def is_map(t):
def is_decimal(t):
return t.id in _DECIMAL_TYPES


@doc(is_null, datatype="decimal32")
def is_decimal32(t):
return t.id == lib.Type_DECIMAL32


@doc(is_null, datatype="decimal64")
def is_decimal64(t):
return t.id == lib.Type_DECIMAL64


@doc(is_null, datatype="decimal128")
def is_decimal128(t):
return t.id == lib.Type_DECIMAL128
Expand Down

0 comments on commit e4ff26e

Please sign in to comment.