1
0
Fork 0
textual-fastdatatable/stubs/pyarrow/lib.pyi
Daniel Baumann 148efc9122
Adding upstream version 0.12.0.
Signed-off-by: Daniel Baumann <daniel@debian.org>
2025-02-24 10:57:24 +01:00

32 lines
979 B
Python

from . import Date32Type, Date64Type, Scalar, TimestampType
class ArrowException(Exception): ...
class ArrowInvalid(ValueError, ArrowException): ...
class ArrowMemoryError(MemoryError, ArrowException): ...
class ArrowKeyError(KeyError, Exception): ...
class ArrowTypeError(TypeError, Exception): ...
class ArrowNotImplementedError(NotImplementedError, ArrowException): ...
class ArrowCapacityError(ArrowException): ...
class ArrowIndexError(IndexError, ArrowException): ...
class ArrowSerializationError(ArrowException): ...
class ArrowCancelled(ArrowException): ...
ArrowIOError = IOError
class Date32Scalar(Scalar):
@property
def type(self) -> Date32Type: ...
@property
def value(self) -> int: ...
class Date64Scalar(Scalar):
@property
def type(self) -> Date64Type: ...
@property
def value(self) -> int: ...
class TimestampScalar(Scalar):
@property
def type(self) -> TimestampType: ...
@property
def value(self) -> int: ...