1
0
Fork 0

Adding upstream version 0.12.0.

Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
Daniel Baumann 2025-02-24 10:57:24 +01:00
parent d887bee5ca
commit 148efc9122
Signed by: daniel
GPG key ID: FBB4F0E80A80222F
69 changed files with 12923 additions and 0 deletions
stubs/pyarrow

32
stubs/pyarrow/lib.pyi Normal file
View file

@ -0,0 +1,32 @@
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: ...